0% found this document useful (0 votes)
40 views20 pages

ch-1 and 2 MCQ

The document contains multiple choice questions about HTML forms. It covers form elements like <form>, <input>, <textarea>, <select>, and their attributes. The questions address how forms submit data, default values, single vs multi-line inputs, and more.

Uploaded by

hastipatel2006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views20 pages

ch-1 and 2 MCQ

The document contains multiple choice questions about HTML forms. It covers form elements like <form>, <input>, <textarea>, <select>, and their attributes. The questions address how forms submit data, default values, single vs multi-line inputs, and more.

Uploaded by

hastipatel2006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Ans Ch No

Q8 In HTML, which of the following element is not used to (A) Text Area (B) Input (C) Image (D) Form (C) Image 1
create a form ?
Q9 In HTML, which of the following is a container used to (A) Frame and (B) Frame (C) Database (D) Form (D) Form 1
collect different kinds of inputs from the user ? Database both

Q11 Which of the following attribute can be used in <Form> (A) Get and Post (B) Method (C) Action and Method (D) Action (C) Action and 1
element of HTML ? both both Method both
Q12 In HTML, which of the following attribute of form (A) Value (B) Action (C) Type (D) Method (D) Method 1
specifies the HTTP method to be used when sending the data
?
Q13 How many attributes are used by form element ? (A) five (B) four (C) three (D) two (D) two 1

Q14 From the following who allows more interactivity and (A) HTML Form (B) HTML Table (C) HTML Report (D) All of these (A) HTML Form 1
control in data entry ?
Q15 Which attribute of form elements is used to specify (A) method (B) action (C) name (D) type (B) action 1
where to send the form data when the form is submitted ?

Q5 In HTML, which of the following attribute of form (A) Input (B) Submit (C) Action (D) Method (D) Method 1
specifies the HTTP method to be used when sending the data
?
Q4 Which attribute of <form> element takes a filename as (A) method (B) action (C) reset (D) value (B) action 1
value in HTML form ?
Q1 In HTML, which of the following is used to collect (A) Frame (B) Label (C) Form (D) CSS (C) Form 1
different kinds of inputs from the user ?
Q2 Which of the following is an attribute of HTML <form> (A) method (B) type (C) value (D) initial (A) method 1
element ? selection
Q7 Which attribute is used to specify where to send the form (A) Method, Get (B) Method, (C) Action, Get (D) Action, File (D) Action, File 1
data when the form is submitted and What will be the value Post name name
of it?
Q10 Which of the following is the tag used to implement (A) (B) <form>… (C) </form> ... </form> (D) (B) <form>… 1
form element in HTML? <form>....<form> </form> <frm>...</frm> , </form>

Q3 Which values are used to specify method attribute of (A) get and set (B) get and post (C) get and put (D) set and got (B) get and post 1
form ?
Q6 In HTML, which of the following attribute of form is used (A) action (B) input (C) value (D) submit (A) action 1
to specify where to send the form data when the form is
submitted ?
Q21 What is the default value for method attribute of (A) Get (B) Post (C) (A) and (B) both (D) URL (A) Get 1
<Form> element ?
Q23 Which attribute is used to specify the default value of (A) Initial value (B) Value (C) Type (D) Name (B) Value 1
the text-field in the HTML form ?
Q18 Which of the following method sends the data as a block (A) GET (B) POST (C) FTP (D) HTTPS (B) POST 1
through the HTTP transaction ?
Q26 Which attributes are used to indicate the field specify (A) type (B) name (C) value (D) all of above (C) value 1
default value in HTML ?
Q24 Which of the following is an attribute of <Input> tag of (A) Type (B) Name (C) Value (D) All of these (D) All of these 1
HTML form ?
Q25 In HTML form, clicking on which of the following button, (A) Reset (B) OnSubmit (C) Submit (D) OnClick (A) Reset 1
the values of data entered in the form are cleared and set
back to default values ?
Q16 In HTML form which tag is used to implement input (A) (B) (C) (D) (B) 1
element ? <form>...</form> <input>...</inpu <Execute>...</Execute <type>...</type <input>...</inpu
t> > > t>
Q19 Generally, in HTML form which input element is used to (A) textbox (B) radiobutton (C) checkbox (D) (C) checkbox 1
select multiple items from a given group of items ? passwordbox

Q28 Which of the following method value allows only a (A) POST (B) LTP (C) GET (D) HTTP (C) GET 1
limited amount of information to be sent at a time by form
on KompoZer ?
Q29 Which of the following element is used to insert various (A) <insert> … (B) (C) <filed>…</field> (D) (B) 1
fields like radio button, textbox and checkbox in the form ? </insert> <input>…</inpu <button>…</bu <input>…</inpu
t> tton> t>
Q30 Which of the following button is clicked in form to clear (A) Textbox (B) Checkbox (C) Reset (D) Radio (C) Reset 1
the value of data entered in the form and set back to default
value ?
Q27 Generally, which input element is used to select a single (A) Textbox (B) Checkbox (C) Radio button (D) Password (C) Radio 1
item from a given group of item ? button
Q17 In HTML, which element is used to insert various fields (A) <Select> (B) <Area> (C) <Input> (D) <Radio (C) <Input> 1
like radio button, textbox and checkbox in the form ? button>
Q20 Which of the following method sends the data as a block (A) GET (B) SET (C) PUT (D) POST (D) POST 1
through the HTTP transaction ?
Q31 Which type of input element will convert typed (A) Password (B) Check box (C) Text (D) Reset (A) Password 1
characters into non readable format?
Q22 Which of the following method sends the data as a block (A) SET (B) GET (C) PUT (D) POST (D) POST 1
through the HTTP transaction?
Q34 In HTML, which of the following element allows multi- (A) <textdata> (B) <input> (C) <selection> (D) <textarea> (D) <textarea> 1
line text input ?
Q36 Which of the following element allows multi-line text (A) input (B) textarea (C) select and option (D) form (B) textarea 1
input in HTML?
Q37 Which of the following attribute is used with the (A) cols (B) height (C) width (D) size (A) cols 1
<textarea> element ?
Q40 In HTML form, which element allows multi-line text (A) <textarea> (B) <submit> (C) <P> (D) <text> (A) <textarea> 1
input ?
Q39 Which of the following element allows multi-line text (A) Textarea (B) Multiline (C) Insert Row (D) Insert (A) Textarea 1
input in HTML KompoZer form ? Column
Q42 Which element is used to create a drop down list or (A) <select> .... (B) <option> .... (C) <pulldown> (D) <body> .... (A) <select> .... 1
menu in a form in HTML ? </select> </option> </pulldown> </body> </select>
Q38 In form, which input element can be used to enter (A) <select> ... (B) <option> ... (C) <longtext> (D) <textarea> (D) <textarea> 1
comment, report or a long description of a product ? </select> </option> </longtext> </textarea> </textarea>

Q32 Which element allows multiline text input in HTML form (A) longtext (B) checkbox (C) textarea (D) select (C) textarea 1
?
Q33 Which of the following element is used to create a drop (A) Select (B) Input (C) Drop (D) Area (A) Select 1
down list or menu in a form ?
Q35 Which of the following setting is associated with (A) Columns, Cell (B) Rows, Cell (C) Rows, Columns (D) Space, Cell (C) Rows, 1
Textarea properties dialog box in KompoZer ? Columns
Q41 Which of the following attributes are used in textarea (A) cols, rolls (B) rows, codes (C) rows, cols (D) codes, rolls (C) rows, cols 1
element in HTML form ?
Q44 Which of the following stands for IDE ? (A) Internet (B) (C) Indian (D) Integrated (D) Integrated 1
Development International Development Development Development
Environment Development Environment Environment Environment
Environment
Q46 Which of the following is an example of open source IDE (A) KompoZer (B) Eclipse (C) JBuilder (D) All of above (D) All of above 1
?
Q43 Which of the following software’s are the examples of (A) KompoZer (B) Eclipse (C) JBuilder (D) All of above (D) All of above 1
open source IDE's ?
Q47 Which of the following is a software application that (A) Internet (B) Internet (C) Interface (D) Integrated (D) Integrated 1
provides complete facilities to programmer to develop Development Development Development Development Development
software ? Environment Active Environment Environment Environment
Q45 What is the full form of IDE ? (A) Integrated (B) (C) Indian (D) Integrated (A) Integrated 1
Development International Development Document Development
Environment Development Environment Environment Environment
Environment
Q49 Which of the following is not an example of Open Source (A) Netchain (B) Eclipse (C) Netbeans (D) JBuilder (A) Netchain 1
IDEs ?
Q48 From the following which are the examples of open (A) KompoZer (B) Eclipse (C) JBuilder and (D) All of these (D) All of these 1
source IDEs ? Netbeans
Q52 Which website is used to download KompoZer free of (A) (B) (C) (D) All of these (B) 1
cost ? www.kompozer.c www.kompozer www.kompozer.co.in www.kompozer
om .net .net
Q50 Which menu-option is used to view different tool bars (if (A) View --> Show (B) Format --> (C) Edit --> Show / (D) Insert --> (A) View --> 1
not visible) in KompoZer ? / Hide Toolbar Hide Toolbar Show / Hide
Q61 In KompoZer, which menu-option is used to view the (A) Insert --> (B) Tools --> (C) Format --> View (D) View --> (D) View --> 1
different toolbars and status bar ? Show / Hide Show I Hide tools Show / Hide Show / Hide
Q63 In KompoZer, which toolbar is used to create new file, (A) Composition (B) Format (C) Format toolbar-2 (D) All of above (A) Composition 1
open a file, save a file or publish a web page ? toolbar toolbar-1 toolbar

Q53 Modern word processing software operates in which of (A) WYSIWYG (B) WISYWYG (C) WIGIWIS (D) WISWYG (A) WYSIWYG 1
the following mode ?
Q62 KompoZer software can be downloaded from which of (A) (B) (C) (D) (D) 1
the following website ? http://www.kom https://www.ko https://www.kompoze http://www.ko http://www.ko
pozer.in mpozer.org r.edu mpozer.net mpozer.net
Q64 What is the full form of CSS ? (A) Cascading (B) Copy (C) Cascading Style (D) Copy Style (C) Cascading 1
Standard Sheet Standard Style Sheet Sheet Style Sheet

Q65 In KompoZer, which toolbar is used to create, open and (A) Composition (B) Format (C) Format toolbar 2 (D) None of the (A) Composition 1
save a file or publish a web page ? toolbar toolbar 1 above toolbar

Q55 Which tool of KompoZer is used to give rapid access to (A) Site Manager (B) Page (C) Document (D) None of the (A) Site 1
the files on both local machine and remote servers ? Manager Manager above Manager
Q57 Which toolbar is used to format text, add bullets, (A) Composition (B) Format (C) Format toolbar2 (D) Both (B) and (D) Both (B) and 1
numbering and perform similar formatting operations ? toolbar toolbar1 (C) (C)

Q67 Which of the following menu is clicked in KompoZer to (A) View --> Hide (B) View --> (C) View --> (D) View --> (B) View --> 1
view the different toolbars and status bar ? /Status Show/Hide Tools/Shows Tools/Status Show/Hide

Q68 Which of the following icon is shown on composition (A) Bold (B) Save (C) Body Text (D) Auto (B) Save 1
toolbar in KompoZer ? Number
Q58 KompoZer incorporates with whom that gives rapid (A) Site Manager (B) Page (C) Document (D) None of (A) Site 1
access to file on both local machines and remote servers ? Manager Manager these Manager

Q66 What is the full form of CSS ? (A) Cascading (B) Cascading (C) Cascading Short (D) Cascade (A) Cascading 1
Style Sheet Super Sheet Style Sine Simple Style Sheet
Q51 In KompoZer, which menu-option is used to view the (A) View --> Show (B) Edit --> (C) Insert --> Menu (D) Edit --> (A) View --> 1
different toolbars and status bar ? / Hide Show / Hide Display Show / Hide
Q56 Which of the following icon comes in Composition (A) Open (B) Font (C) Bullet (D) Bold (A) Open 1
toolbar at KompoZer ?
Q54 Which of the following toolbar is not available in (A) Preview (B) Format (C) Format Toolbar-2 (D) (A) Preview 1
KompoZer ? Toolbar Toolbar-1 Composition Toolbar
Toolbar
Q59 Which of the following is a free open source web (A) KompoZer (B) HTML (C) SciTE (D) Base (A) KompoZer 1
development IDE?
Q60 In KompoZer, which of the following menu-option is (A) Edit --> Show (B) Tools --> (C) View --> (D) Insert --> (C) View --> 1
used to view different toolbars and status bar? Show/Hide Show/Hide Show Show/Hide

Q75 In KompoZer, which key is used to close site manager ? (A) F9 (B) F5 (C) F6 (D) F2 (A) F9 1

Q76 In Edit mode toolbar of KompoZer, which of the (A) Normal (B) Web page (C) HTML tags (D) Preview (B) Web page 1
following viewing mode is not available ?
Q77 In KompoZer, which tab of page pane is used to design (A) design (B) split (C) source (D) none of (A) design 1
the web page ? above
Q82 Which tab is used to design (format) the web page in (A) Design (B) Split (C) Source (D) All of above (A) Design 1
KompoZer ?
Q78 In KompoZer, which of the following tab is available on (A) Design (B) Split (C) Source (D) All of these (D) All of these 1
the left side of the page pane ?
Q79 How many viewing modes are there on the edit mode (A) 6 (B) 3 (C) 4 (D) 2 (B) 3 1
toolbar of KompoZer ?
Q83 Which of the following viewing modes are there in Edit (A) Normal, HTML (B) Normal, (C) Normal, CSS tag, (D) Design, (A) Normal, 1
mode toolbar of KompoZer ? Tag, Preview Source, Split View Split, Source HTML Tag,
code Preview
Q84 Which of the following is a key to close the Site Manager (A) Ctrl + F8 (B) F9 (C) Ctrl (D) F8 (B) F9 1
pane in KompoZer ?
Q85 Which tab shows all details of HTML code, that helps in (A) Design (B) Split (C) Source (D) All of these (C) Source 1
editing the source code on the left side of page pane of
KompoZer ?
Q70 In KompoZer, which of the following viewing mode of (A) Normal view (B) HTML Tags (C) Preview mode (D) Print view (C) Preview 1
Edit mode toolbar offers the page view as seen in a browser ? view mode

Q71 In KompoZer, which tab of the page pane is used to (A) Design (B) Source (C) Split (D) View (A) Design 1
design the web page ?
Q72 In KompoZer, which shortcut key is used to close the Site (A) F5 (B) F7 (C) F9 (D) F2 (C) F9 1
Manager pane ?
Q69 When we click on any item in the page, in which of the (A) Composition (B) Format (C) Status Bar (D) Format (C) Status Bar 1
following its structure appears? Toolbar Toolbar- I Toolbar-2

Q80 In KompoZer window, which tab of Edit Mode Toolbar (A) Design (B) Preview (C) Source (D) Normal (C) Source 1
should be clicked to view source code of recently created
form?
Q81 Which of the following will show a blank untitled web (A) Edit mode (B) Format (C) Site manager (D) Page pane (D) Page pane 1
page in KompoZer? toolbar toolbar- I
Q74 Which keyboard shortcut is used to close the site (A) F9 (B) F1 (C) F2 (D) F10 (A) F9 1
manager pane in KompoZer?
Q73 Which shortcut key is used to close the Site Manager (A) F12 (B) F5 (C) F9 (D) F10 (C) F9 1
pane in KompoZer ?
Q88 In KompoZer, Which of the following menu option is (A) File —> Web (B) File —> (C) File —> Page list (D) File —> (B) File —> 1
used to open a file that has been opened recently? pages Recent pages Form list Recent pages

Q89 Which of the following are viewed when user open Form (A) Form Name, (B) Field Name, (C) Action URL, (D) Field Name, (A) Form Name, 1
properties dialog box in KompoZer ? Action URL, Method URL, Method, Field Action URL, Action URL,
Method Label Method Method

Q90 From the following which option is not in Form (A) Form Name (B) Action URL (C) Method (D) Field Value (D) Field Value 1
Properties Dialog Box of KompoZer ?
Q86 In KompoZer, which menu-option is used to create a (A) Insert --> Form (B) Insert --> (C) Edit --> Form (D) Format --> (B) Insert --> 1
form ? --> Create Form Form --> Define Form --> Create Form --> Define
Form Form Form
Q87 Which of the following settings are viewed when user (A) Force Name, (B) Form Name, (C) File Name, Action (D) Form Name, (D) Form Name, 1
defines the form in Form Properties dialog box ? Method URL, Anchor Name, URL, Method Action URL, Action URL,
Method Name Methods Method Method

Q94 In KompoZer, which menu option is used to insert a label (A) Form —> (B) Format —> (C) Form —> Define (D) Insert —> (C) Form —> 1
in form ? Form field Label Label Label Define Label
Q95 Which by default name of webpage is shown when user (A) Document1 (B) Kompozer1 (C) Untitled (D) Unit (C) Untitled 1
starts KompoZer first time ?
Q96 Which of the following menu is used to insert a label for (A) Insert --> Form (B) Insert --> (C) Insert --> Form --> (D) Insert --> (B) Insert --> 1
the name field in KompoZer ? --> Create label Form --> Define Label Assign Form --> InsertForm --> Define
label label label
Q91 Which colored outline is seen in form when inserted in (A) Green colored (B) Yellow (C) Light blue colored (D) Red colored (C) Light blue 1
KompoZer ? colored colored
Q92 Which of the following colored outline is inserted by (A) Light Red (B) Light Blue (C) Light Yellow (D) Light Green (B) Light Blue 1
KompoZer after defining form ?
Q93 In KompoZer, which of the following menu-option Is (A) Edit --> Form -- (B) Tools --> (C) Insert --> Form --> (D) File --> (C) Insert --> 1
used to insert label? > Define Label Define label Define Label Define Label Form --> Define
Label
Q99 In KompoZer, which menu-option is used to insert an (A) Insert -->Text (B) Form --> (C) Insert --> Form --> (D) Insert --> (C) Insert --> 1
input text field in the form ? field Format field Form field Form field Form --> Form
field
Q98 Which menu option is used to add input text field in (A) Format --> (B) View --> (C) Insert --> Form --> (D) Table --> (C) Insert --> 1
form field properties dialog box? Form -->Form Form -->Form Form Field Form --> Field Form --> Form
Field Field Form Field
Q100 Which of the following is not a section of 'Form field (A) Field type (B) Field setting (C) Form name (D) None of the (C) Form name 1
properties' dialog box of KompoZer ? these
Q97 To insert input "Text Field" in form of KompoZer which (A) Submit button (B) Check box (C) Radio button (D) Text (D) Text 1
option is selected in field type menu of "Form Field
Properties" ?
Q104 Where does the page title displayed in the browser (A) Menu bar (B) Status bar (C) Main document (D) Title bar (D) Title bar 1
window when it is viewed in the browser ?
Q102 When webpage viewed in the browser, where the page (A) In Title bar (B) In Status bar (C) In Navigation pane (D) In Menu bar (A) In Title bar 1
title will be displayed ?
Q101 Which of the following dialog box is viewed when user (A) Save As (B) Save All (C) Close All (D) Page Title (D) Page Title 1
click Save button first time in KompoZer ?

Q103 Where will the page title be displayed when webpage is (A) on Status bas (B) on Menu (C) on Title bar (D) on Main (C) on Title bar 1
viewed in the browser ? bar window
Q105 Which extension is used to save website file made in (A) .html (B) .src (C) .C (D) .komp (A) .html 1
KompoZer ?
Q108 In KompoZer, generally file is saved with which (A) .html (B) .htm (C) both (A) and (B) (D) None of (C) both (A) and 1
extension ? above (B)
Q106 Which of the following filename is the home page of (A) one.html (B) first.html (C) home.html (D) index.html (D) index.html 1
the website saved as ?
Q107 Which toolbar is used to give Heading-1 style to the (A) Format (B) Format (C) Composition (D) Status Bar (A) Format 1
heading of the form? Toolbar-1 Toolbar-2 Toolbar Toolbar-1
Q110 In KompoZer, we want any option of the radio button (A) Initially (B) Default (C) Prime value (D) Initial value (A) Initially 1
selected when the form is loaded then, the checkbox in front selected value selected
of which text should be selected in form field property dialog
box ?
Q113 Which option is used by check box to keep the option (A) Select Initially (B) Initially (C) Show Initially (D) Display (B) Initially 1
checked when the form loads in web page? checked Initially checked

Q112 To keep the ‘checkbox' checked, which option is (A) Initially (B) Selection list (C) Initially load (D) By default (A) Initially 1
selected when the form load in KompoZer ? Checked Checked

Q111 What should remain same for all possible answers (A) Field value (B) Group name (C) Field selected (D) Initially (B) Group name 1
while creating radio button? option selected option

Q116 In KompoZer, which menu option is used to create a (A) Form --> (B) Form --> (C) Form --> Option list (D) Form --> List (A) Form --> 1
selection list of form ? Selection list Text Area Selection list
Q118 To create dropdown menu through KompoZer which (A) Form --> (B) Form --> (C) Form --> (D) Form --> (A) Form --> 1
menu is clicked ? Selection list Select Dropdown list Option Selection list
Q114 Which of the following menu is used in KompoZer to (A) Edit --> (B) File --> (C) Form --> Selection (D) Format --> (C) Form --> 1
create Selection List ? Selection List Selection List List Selection List Selection List
Q117 In KompoZer, which of the following options is used to (A) Insert --> (B) Form --> (C) File --> Selection (D) Edit -- (B) Form --> 1
add Selection list? Selection List Selection List List >Selection List Selection List
Q115 Which of the following menu-option is used to create (A) File --> (B) Edit --> (C) Insert --> List (D) Form --> (D) Form --> 1
selection list option in KompoZer? Selection List Selection List Selection List Selection List
Q119 In KompoZer, which menu-option is used to give a (A) Insert --> (B) Format --> (C) View --> Page (D) All of above (B) Format --> 1
background color in the form ? Background Page colors and Background Page colors and
Background Background

Q120 Which menu-option is used to give a background color (A) Edit --> Page (B) Format --> (C) View --> Page (D) Insert --> (B) Format --> 1
in form of KompoZer ? colors and Page colors and colors and Background Background Page colors and
Background Background Background

Q109 Which of the following file name is the home page of (A) first.html (B) index.html (C) home.html (D) main.html (B) index.html 1
the website saved as ?
Q9 Which of the following allows specifying styles for the (A) Webpage (B) Cascading (C) Form (D) Animation (B) Cascading 2
visual elements of the website? Style Sheets Style Sheets
Q11 In website, which of the following can be controlled (A) Font types (B) Pad spaces (C) Margin and (D) All of above (D) All of above 2
using CSS ? element position
Q13 A CSS rules has how many parts ? (A) One (B) Three (C) Four (D) Two (D) Two 2
Q15 In the following CSS syntax which is a selector ? H1 (A) : (B) Color (C) Green (D) H1 (D) H1 2
{color: green)
Q1 Which of the following allows specifying styles for the (A) Cascading (B) Web Page (C) Animation (D) Form (A) Cascading 2
visual elements of the website ? Style Sheets Style Sheets
Q16 How is the general syntax of CSS defined ? (A) Selector (B) Selector (C) Selector (Value : (D) Selector (A) Selector 2
{Property : Value} [Property : Property) <property : {Property :
Value] Value> Value}
Q12 Which of the following statement is not true for CSS ? (A) A CSS (B) CSS (C) Using CSS, we can (D) None of the (B) CSS 2
describes the describes the control font type, above describes the
style of the information margin and element information
element in the content of the position in our website content of the
document document document
Q14 Which of the following is a general syntax of CSS ? (A) Select (B) Select : (C) Selector (property : (D) Selector (D) Selector 2
<property : value> {value : value) {property : {property :
property} value} value}
Q2 From the following what is used to describe the style of (A) Selector (B) Declaration (C) Cascading (D) Animation (C) Cascading 2
elements in the documents ? stylesheet stylesheet
Q6 H1 {Color:green}. In this CSS statement which, is selector (A) H1 (B) Color (C) green (D) All of these (A) H1 2
?
Q20 In CSS, property and value are separated by which (A) semicolon (B) colon (C) comma (D) space (B) colon 2
symbol ?
Q21 From given example below of CSS B (color : red} Which (A) red (B) B (C) color (D) { } (B) B 2
of the following is selector in CSS ?
Q18 To add CSS in HTML webpage what is to be used as a (A) Information (B) Color (C) HTML element (D) All of these (C) HTML 2
selector ? element
Q19 A CSS rule has how many parts ? (A) 1 (B) 2 (C) 3 (D) 4 (B) 2 2
Q3 Which of the following is an HTML element on which style (A) select (B) declare (C) selector (D) declaration (C) selector 2
can be applied ?
Q17 Which part of CSS syntax consists of a property (A) Value (B) Property (C) Selector (D) Declaration (D) Declaration 2
associated with the HTML element used in selector and its
corresponding value ?
Q4 Which of the following is a Selector in a given example of (A) B (B) Color (C) red (D) { } (A) B 2
CSS syntax ?
B {color : red}
Q7 Which of the following are two main parts of CSS rule ? (A) Selector, (B) Select, (C) Select, Declare (D) Selection, (A) Selector, 2
Declaration Declaration Declaration Declaration
Q5 Which of the following is not a part of CSS syntax ? (A) Selector (B) Property (C) Value (D) Event (D) Event 2

Q22 In the syntax of CSS, in Declaration, which of the (A) HTML element (B) Property (C) Corresponding (D) Both (B) and (D) Both (B) and 2
following is / are included? associated with values of properties (C) (C)
the HTMI,
element

Q10 Which of the following are two main parts of CSS rule? . (A) Select, (B) Selector, (C) Selector, declare (D) Selection, (B) Selector, 2
declaration declaration declaration declaration
Q8 Which of the following allows specifying styles for the (A) Form (B) Animation (C) Web host (D) Cascading (D) Cascading 2
visual elements of the website ? Style Sheet Style Sheet
Q23 In KompoZer, Cascade button is available on which (A) Edit mode (B) Composition (C) Format Toolbar-1 (D) Format (B) Composition 2
toolbar ? Toolbar Toolbar Toolbar-2 Toolbar

Q24 In KompoZer, Cascade button is available on which (A) Composition (B) Format (C) Format toolbar - 2 (D) Menu bar (A) Composition 2
toolbar ? toolbar toolbar - 1 toolbar

Q26 In KompoZer, cascade button for CSS is available on (A) Composition (B) Format (C) Format toolbar-2 (D) None of the (A) Composition 2
which toolbar ? toolbar toolbar-1 above toolbar
Q25 Which of the following toolbar contains CSS button in (A) Format (B) Menu bar (C) Composition (D) Format (C) Composition 2
KompoZer? Toolbar - | Toolbar Toolbar – 2 Toolbar

Q35 Which option consists of a property associated with the (A) General (B) Aural (C) Lists (D) All of above (A) General 2
HTML element and corresponding value in CSS rule ?

Q31 Which of the following tab is available in CSS stylesheet (A) Background (B) Borders (C) Box (D) All of these (D) All of these 2
dialog box of KompoZer ?
Q32 How many tabs will come in CSS stylesheets dialog box (A) 6 (B) 8 (C) 9 (D) 7 (D) 7 2
in KompoZer ?
Q33 Which of the following is not a tab of CSS stylesheets (A) Orals (B) General (C) Borders (D) Lists (A) Orals 2
dialog box ?
Q34 Which of the following tab of CSS stylesheets dialog box (A) Orals (B) General (C) Borders (D) Lists (B) General 2
shows the CSS code ?
Q28 In the CSS Stylesheets dialog box of KompoZer, a style (A) External Style (B) Internal (C) New Stylesheet (D) Public (B) Internal 2
rule for each element we have added will appear below Stylesheet Stylesheet Stylesheet
which of the following headings ?
Q27 How many tabs are viewed in CSS dialog box when you (A) 7 (B) 8 (C) 9 (D) 10 (A) 7 2
create Style rule for h1 element ?
Q29 Which of the following is the default tab viewed in CSS, (A) Text (B) General (C) Number (D) Real (B) General 2
when user create style rule for h1 element ?

Q30 In KompoZer, which tabs are available on the right side (A) General, Text (B) Background, (C) Borders, Lists (D) All of the (D) All of the 2
of CSS Style Sheets dialog box? Box above above

Q38 Which of the following option is not available in the text (A) Font type (B) Font size (C) Color (D) Font family (A) Font type 2
tab of CSS stylesheet dialog box ?
Q37 Which of the following option is available in Text tab of (A) Font family (B) Color (C) Case (D) All of these (D) All of these 2
CSS stylesheets dialog box of KompoZer?

Q39 In KompoZer, which button of image option of (A) Format picture (B) Choose file (C) Insert picture (D) Insert file (B) Choose file 2
background tab of CSS stylesheets dialog box is used to insert
an image in the background of webpage ?

Q36 In the `CSS Stylesheets' dialog box of KompoZer, which (A) General (B) Text (C) Background (D) Lists (B) Text 2
tab is used to change the color of a font?
Q40 While creating CSS, which button should be clicked to (A) Opacity (B) Position (C) Tile (D) Choose File (D) Choose File 2
select the file for the background, if we want to keep an
image in the background?
Q41 In CSS Stylesheets dialog box of KompoZer, which tab (A) Text (B) Background (C) General (D) Aural (C) General 2
shows the CSS code which is generated ?
Q42 In KompoZer, which tab of CSS stylesheet dialog box is (A) Box (B) Text (C) Background (D) General (D) General 2
use to view CSS code ?
Q46 Which of the following is not an advantage of CSS ? (A) CSS makes (B) CSS makes (C) CSS makes website (D) CSS (D) CSS 2
web designer's webpages designing quick and compatibility compatibility
job easier. loading faster efficient. varies with varies with
as compared to different different
HTML. browsers. browsers.
Q49 Which of the following is not an advantage of CSS ? (A) The CSS has (B) Using CSS (C) The CSS (D) None of the (C) The CSS 2
less code makes website compatibility varies above compatibility
compared to that designing quick with different varies with
in HTML and efficient browsers different
browsers

Q53 Which of the following is a scripting language that allows (A) Action Script (B) Java Script (C) HTML (D) CSS (B) Java Script 2
adding programming to web pages ?
Q56 Which of the following statement isn't a disadvantage of (A) Style cannot (B) Some of the (C) Both (A) and (B) (D) CSS has less (D) CSS has less 2
CSS ? be displayed as style sheet code compared code compared
per the user features are no to that in to that in
design. supported by HTML. HTML.
the browser.

Q50 Which of the following is not an advantage of CSS ? (A) Less code (B) CSS makes (C) CSS compatibility (D) The web (C) CSS 2
compare to the website varies with different pages will load compatibility
HTML designing quick browser faster varies with
and efficient different
browser
Q51 Which of the following is used in web pages to improve (A) Text Editor (B) CSS (C) JavaScript (D) HTML (C) JavaScript 2
the design and validate the form ?
Q52 Which of the following browser does not support (A) Mozilla Firefox (B) Chrome (C) Safari (D) None of the (D) None of the 2
JavaScript ? above above
Q43 From the following which is the advantage of CSS ? (A) To change the (B) CSS has less (C) CSS makes website (D) All of these (D) All of these 2
style of an codes designing quick and
element only compared to efficient.
needs to make that in HTML.
modifications in
the CSS file

Q45 Using which language, a webpage no longer remains (A) HTML (B) Javascript (C) CSS (D) Animation (B) Javascript 2
static, but can include coding that allows interactivity with
the user, control the browser and dynamically create content
?
Q47 What is used in web pages to improve the design and (A) 'C' language (B) Java (C) Oracle (D) JavaScript (D) JavaScript 2
validate the forms ?
Q48 Which kind of webpage is created using HTML ? (A) Static (B) Could not be (C) Both (A) and (B) (D) Dynamic (C) Both (A) and 2
changed (B)
Q54 From the following, which is a disadvantage in CSS ? (A) Set the style (B) CSS (C) Website designing (D) CSS has less (B) CSS 2
for each element compatibility quick and efficient code compared compatibility
only once. varies with using CSS. to that in varies with
different HTML. different
browsers. browsers.
Q55 Which application is used to validate the data entered in (A) KompoZer (B) HTML tag (C) JavaScript (D) CSS (C) JavaScript 2
the HTML forms on the client side before sending it to the
server ?
Q44 After using which option, a web page no longer remains (A) JavaScript (B) CSS (C) HTML (D) KompoZer (A) JavaScript 2
static, but can include coding that allows interactivity with
the user, control the browser and dynamically create HTML,
content?
Q57 Which of the following statements is / are true for (A) Only (iii) (B) Only (ii) and (C) Only (i) and (iii) (D) All (i),(ii)and (C) Only (i) and 2
JavaScript? (iii) (iii) (iii)
(i) JavaScript is used for validation of client side users
(ii) Can describe the style of the elements in document not
the content
(iii) After using it, web page no longer remains static

Q59 Which of the following makes website designing quick (A) JavaScript (B) CSS (C) HTML (D) Java (B) CSS 2
and efficient?
Q58 Which of the following web program provide static web (A) Asp.net (B) HTML (C) JavaScript (D) Both (A) and (B) HTML 2
page ? (C)
Q60 Which of the following symbol signifies the start and end (A) Semi colon (B) Curly (C) Square bracket (D) Round (B) Curly 2
at a JavaScript block ? bracket bracket bracket
Q68 Which of the following statement is true for JavaScript ? (A) Only (i) (B) Only (ii) (C) (i) and (ii) both (D) None of the (C) (i) and (ii) 2
(i) The JavaScript code can be put directly inside the web above both
page code as a separate section.
(ii) JavaScript is a case sensitive language.

Q71 In the following JavaScript statement which is a method (A) document (B) write (C) hello Students (D) none of the (B) write 2
? document.write ("Hello Students"); above
Q67 Which of the following statements indicates the method (A) document (B) write (C) Hello Students (D) ("Hello (B) write 2
in Java Script ? "document.write("Hello Students") Students")

Q69 Using which tag, the JavaScript code is inserted into an (A) <Java> …… (B) <Text> …… (C) <Script> …… (D) <Style> …… (C) <Script> …… 2
HTML page ? </Java> </Text> </Script> </Style> </Script>
Q70 JavaScript block starts and ends with which brackets ? (A) [ ] (B) { } (C) < > (D) ( ) (B) { } 2

Q61 From the following which tag is inserted JavaScript code (A) (B) (C) <JS>...</JS> (D) (B) 2
in HTML webpage ? <style>...</style> <script>...</scri <title>...</title> <script>...</scri
pt> pt>
Q63 In JavaScript, which method is used to display content in (A) (B) (C) script.write( ) (D) (A) 2
browser ? document.write( ) browser.write( ) method.write( ) document.write
()
Q73 In following example of JavaScript (A) ( ); (B) . (dot) (C) write (D) document (C) write 2
document.write("SWA SE SWACHHATA TAK") : which is
known as method ?
Q74 JavaScript statements can be grouped together in a block (A) Angle (B) Close (C) Round (D) Curly (D) Curly 2
and block starts & end with which brackets ?

Q62 In JavaScript, which sign is used as a mark of Separation (A) ; (semicolon) (B) : (colon) (C) . (full stop) (D) , (comma) (A) ; 2
? (semicolon)
Q65 Which of the following symbol signifies the start and end (A) Round bracket (B) Curly (C) Square bracket (D) Semicolon (B) Curly 2
of a JavaScript block ? bracket bracket
Q72 What is the use of semicolon sign in JavaScript ? (A) Statement (B) Statement (C) Each statement (D) None of (B) Statement 2
termination separation making bold these separation
Q64 Which of the following symbol signifies the start and end (A) Semi colon (B) Square (C) Curly bracket (D) Round (C) Curly 2
of a JavaScript block ? bracket bracket bracket
Q66 Which of the following symbol signifies the start and end (A) square bracket (B) semicolon (C) curly bracket (D) round (C) curly 2
of a JavaScript block? bracket bracket
Q75 In JavaScript, which keyword is used to define a function (A) fun (B) FUNC (C) Func (D) function (D) function 2
?
Q83 In JavaScript, what is a reusable block of code that (A) Event (B) Function (C) Procedure (D) Variable (B) Function 2
performs a particular task ?
Q84 In JavaScript function, the block of code is written inside (A) < > (B) { } (C) [ ] (D) ( ) (B) { } 2
which braces ?
Q87 Which of the following is not a built-in function of (A) isNaN( ) (B) alert( ) (C) validateForm( ) (D) none of (C) 2
JavaScript ? above validateForm( )

Q89 In JavaScript, which of the following statement is used to (A) return (B) display (C) function (D) send (A) return 2
return a value in a function ?
Q94 What is called a reusable block of code that performs a (A) Function (B) Code (C) Programming (D) All of these (A) Function 2
particular task ?
Q85 In JavaScript, which keyword is used to define a function ? (A) Define (B) Function (C) Func (D) Fnc (B) Function 2

Q86 Which of the following is not an example of user defined (A) addnos ( ) (B) (C) validForm ( ) (D) alert ( ) (D) alert ( ) 2
function of JavaScript ? validateForm ( )

Q88 In JavaScript, which statement is used to stop the (A) reset (B) back (C) submit (D) return (D) return 2
function execution and return the specified value ?

Q78 What is a reusable block of code that performs a (A) function (B) if statement (C) variable (D) method (A) function 2
particular task in JavaScript ?
Q92 Which of the following is inbuilt function provided by (A) alert ( ) (B) NewForm ( ) (C) ValidateForm ( ) (D) Hello( ) (A) alert ( ) 2
JavaScript ?
Q76 Which of the following statement is used in JavaScript to (A) Event (B) Program (C) Return (D) Function (C) Return 2
return a value in a function ?
Q77 Which of the following is an example of inbuilt (A) hello( ) (B) (C) alert( ) (D) myFun( ) (C) alert( ) 2
JavaScript function ? validateForm( )

Q90 What kind of alert( ) function in JavaScript ? (A) Modular (B) (C) and (D) (C) Inbuilt function (D) User (C) Inbuilt 2
both defined function
Q79 Which of the following is inbuilt function provided by (A) hello() (B) validForm() (C) alert() (D) (C) alert() 2
JavaScript ? validateForm()

Q80 Which of the following is a reusable block of code that (A) Array (B) Code (C) Program (D) Function (D) Function 2
performs a particular task ?
Q81 Which of the following statement is used to return a (A) return (B) function (C) select (D) send (A) return 2
value in a function of JavaScript ?
Q91 Which of the following will be executed by an event or (A) Function (B) Variable (C) Event (D) If statement (A) Function 2
when it is called inside a source code?
Q93 Which of the following statements will stop the function (A) Return (B) If statement (C) Event handler (D) All (A) Return 2
from executing and return the specified value? statement (A),(B).(C) statement

Q82 Which built-in function takes the text and displays it in (A) alert () (B) display ( ) (C) message () (D) submit () (A) alert () 2
an alert box in JavaScript?
Q95 Which of the following in generated by the browser due (A) Value (B) Response (C) Event (D) Function (C) Event 2
to interaction between the user and webpage?

Q114 From the following which is not an event in JavaScript ? (A) Abort (B) Alert (C) Click (D) Submit (B) Alert 2

Q107 In JavaScript, which event would occur when document (A) Change (B) Abort (C) Load (D) Focus (C) Load 2
or image is loaded ?
Q108 In JavaScript, which key word is used to declare a (A) def (B) dec (C) var (D) dim (C) var 2
variable ?
Q117 Which Java Script event is executed when element such (A) blur ( ) (B) abort ( ) (C) unload ( ) (D) load ( ) (A) blur ( ) 2
as a radio button becomes in active ?
Q110 In JavaScript, which event occurs when loading of (A) abort (B) focus (C) error (D) upload (A) abort 2
image is cancelled ?
Q111 In JavaScript which of the following type value can be (A) numbers (B) string (C) text (D) All of these (D) All of these 2
stored in the variable ?
Q96 In JavaScript, which event handler is used to event click ? (A) byClick( ) (B) onClick( ) (C) ofClick( ) (D) onClicking( ) (B) onClick( ) 2

Q100 Which keyword is used to declare variable in JavaScript (A) Variable (B) Var (C) Viaria (D) Java Var (B) Var 2
?
Q112 Which of the following is not an example of Event in (A) focus (B) load (C) take (D) error (C) take 2
JavaScript ?
Q113 Which of the following event occurs when element (A) blur (B) select (C) unload (D) deselect (A) blur 2
such as a radio button becomes inactive ?
Q115 Which of the following is a container for storing data in (A) Event handler (B) Integer (C) Event (D) Variable (D) Variable 2
JavaScript?
Q116 Which of the following is an example of event handler (A) onsubmit() (B) submiton() (C) onsubmitclick() (D) (A) onsubmit() 2
in JavaScript? submitclickon()

Q109 var x = document.js1.name.value (A) x (B) document (C) js1 (D) name.value (A) x 2
In above statement, which is a variable ?
Q101 Which of the following statement is true for JavaScript (A) only (i) and (ii) (B) only (ii) and (C) only (i) and (iii) (D) (i), (ii) and (D) (i), (ii) and 2
variable ? (iii) (iii) (iii)
(i) Variables in JavaScript are case sensitive.
(ii) JavaScript variable can store numbers, strings or text.
(iii) In JavaScript, variables can be declared using VAR
keyword.

Q102 In JavaScript, which event occurs when a document or (A) click (B) focus (C) load (D) abort (C) load 2
image is loaded ?
Q103 Which event occurs when document or image is loaded (A) load (B) blur (C) change (D) focus (A) load 2
in JavaScript ?
Q97 Which of the following is a container for storing data in (A) Variable (B) Integer (C) Event (D) Event (A) Variable 2
JavaScript ? handler
Q99 Which of the following event is used in JavaScript for (A) abort (B) change (C) reset (D) load (C) reset 2
form fields to reset default values ?
Q98 In JavaScript, which event would occur when loading of (A) blur (B) load (C) abort (D) unload (C) abort 2
image is cancelled ?
Q104 Which event would occur when element such as button (A) select (B) focus (C) click (D) mouseover (B) focus 2
becomes active?
Q105 Which of the following is a container for storing data in (A) Integer (B) Variable (C) Event (D) Event (B) Variable 2
JavaScript? handler
Q106 In JavaScript, which event occurs when user leaves a (A) unload (B) focus (C) abort (D) blur (A) unload 2
page?
Q122 Which of the following statement is true for if (A) Only (i) (B) Only (ii) (C) (i) and (ii) both (D) none of (A) Only (i) 2
statement in JavaScript ? above
(i) The conditional statement if is used to change the flow of
the program.
(ii) If the condition is false, then the program enters in block
and executes the statement inside it.
Q118 What is called when all browsers are split in-to (A) Browser (B) Browser (C) Browser Oriented (D) Browser (A) Browser 2
different parts or objects that can be accessed using Java Object Model Object Menu Model Oriented Menu Object Model
Script ?
Q123 In Java Script, which type of condition in 'if' statement (A) else (B) false (C) fi (D) true (D) true 2
allows program to enter the 'if' statement block and execute
the statements under it ?

Q119 In JavaScript which object is on the top of the level in (A) document (B) window (C) form (D) button (B) window 2
browser object model ?
Q124 Which is the top level object in the Browser Object (A) History object (B) Form object (C) Location object (D) Window (D) Window 2
Model ? object object
Q125 Which of the following object comes under document (A) Form, parent (B) Form, (C) Form, self (D) Form, link (D) Form, link 2
object in the browser object model ? history
Q126 What should be used to control the web browser (A) OMG (B) BOM (C) BOD (D) UML (B) BOM 2
window or the web page in JavaScript ?
Q121 Which is the top level object in the Browser Object (A) location (B) history (C) document (D) window (D) window 2
Model ?
Q129 In document object model, all the element of webpage (A) Webpage (B) Browser (C) Background (D) Document (D) Document 2
like form, images, links etc. are contained within which
object ?
Q131 In JavaScript, which method is used to apply focus on a (A) Select (B) Focus (C) Move (D) None of the (B) Focus 2
particular element of the form ? above
Q133 In JavaScript , what can be controlled by using the (A) Web Page (B) Web (C) Document (D) All of these (A) Web Page 2
method and properties of document object ? Browser
Q130 In browser object model, method and properties of (A) option (B) document (C) window object (D) location (C) window 2
which object is used to control the web browser window ? object object

Q127 In Browser Object Model, elements of webpage like (A) history (B) document (C) location (D) buttons (B) document 2
forms, images, links etc. are contained within which object ?

Q132 In Browser Object Model, in which object, all the (A) Location (B) History (C) Parent (D) Document (D) Document 2
elements of the web page like forms, images, links and others
are included?
Q128 Which of the following is the most important object in (A) history (B) document (C) location (D) link (B) document 2
the browser object model?
Q135 In JavaScript, which of the following is used as ‘OR’ (A) & & (B) = = (C) || (D) All of above (C) || 2
operator ?
Q136 Which of the following is used for "OR" in JavaScript (A) ;; (two (B) ** (two star) (C) && (two (D) || (two pipe (D) || (two pipe 2
statement ? semicolon) ampersand) sign) sign)
Q134 While filling forms on Internet, some fields are marked (A) Enter only (B) Enter only (C) It is a compulsory (D) It is not a (C) It is a 2
with a red color asterisk mark "*". What does it mean ? character in field. number in field. field. compulsory compulsory
field. field.
Q141 In JavaScript, following function returns what ? is (A) true (B) false (C) (A) and (B) both (D) 123 (B) false 2
NaN(123)
Q142 In JavaScript, isNaN( ) function returns what when the (A) 10 (B) false (C) 11 (D) true (D) true 2
value passed is not a number ?
Q143 Which of the following function in JavaScript (A) isNON( ) (B) isNaN( ) (C) isNN() ) (D) IsNAN ( ) (B) isNaN( ) 2
determines whether the value is number or not ?
Q140 Which is the most commonly used numeric function in (A) validateForm( (B) isNaN( ) (C) alert() ) (D) number( ) (B) isNaN( ) 2
JavaScript ? )

Q138 In JavaScript, isNaN(123) function returns what ? (A) 123 (B) -1 (C) true (D) false (D) false 2

Q139 If the value is not a number then what is return by (A) False (B) True (C) No (D) Yes (B) True 2
isNaN( ) in JavaScript ?
Q137 In JavaScript, isNaN(123) returns which value ? (A) false (B) true (C) 10 (D) -1 (A) false 2

Q144 How many tabs are shown in advanced property editor (A) five (B) three (C) four (D) two (B) three 2
dialog box in KompoZer?
Q146 In the JavaScript, which number is used for first (A) 3 (B) 1 (C) 2 (D) 0 (D) 0 2
element from the checkbox of three array element ?

Q147 In KompoZer form, the radio buttons for gender field (A) gender [2] and (B) gender [1] (C) gender [0] and (D) gender [0] (D) gender [0] 2
are grouped by the name 'gender' and gender is an array of gender [1] and gender [2] gender [2] and gender [1] and gender [1]
two elements, so how this two elements will be declared ?

Q148 var x = document.gseb.Eng.Value; is JavaScript (A) Value (B) gseb (C) Eng (D) document (B) gseb 2
statement
which of the following indicates form name in KompoZer ?

Q145 What will be form name in KompoZer if variable x is (A) document (B) value (C) month (D) oct (D) oct 2
defined in following way in JavaScript ?
var x = document.oct.month.value;
Q3 Which of the following company has developed JavaScript (A) Sun (B) Microsoft (C) Oracle (D) Netscape (D) Sun 2
scripting language? Microsystem Microsystems
Q84 Which of the following is an event handler of 'submit' (A) submit ( ) (B) function (C) onsubmit ( ) (D) onclick ( ) (C) onsubmit ( ) 2
event? submit ( )

You might also like