116
84.2k
Chapter:

20+ JAVA Script Solved MCQs

in Web Technologies

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Business Administration in Computer Applications (BBA [CA]) .

Chapters

Chapter: JAVA Script
1.

Which of these coding types is used for data type characters in Java?

A. ascii
B. iso-latin-1
C. unicode
D. none of the mentioned
Answer» C. unicode
2.

Which of these operators is used to allocate memory to array variable in Java script?

A. malloc
B. alloc
C. new
D. new malloc
Answer» C. new
3.

Which of these is an incorrect array declaration?

A. int x[] = new int[5]
B. int [] arr = new int[5]
C. intarr[] = new int[5]
D. int x[] = int [5] new
Answer» D. int x[] = int [5] new
4.

Which of these selection statements test only for equality?

A. if
B. switch
C. if & switch
D. none of the mentioned
Answer» B. switch
5.

The CSS background properties are used to define the ___________effects.

A. background
B. customize
C. class
D. id rule
Answer» A. background
6.

CSS border properties allow us to__________ the borders.

A. background
B. customize
C. class
D. id rule
Answer» B. customize
7.

By applying an_______ a style can be applied to just a single tag.

A. background
B. customize
C. class
D. id rule
Answer» D. id rule
8.

_________selectors are used to specify a group of elements.

A. background
B. customize
C. class
D. id rule
Answer» C. class
9.

In CSS, “font-size” can be called as ________

A. property name
B. selector
C. declaration
D. text color
Answer» A. property name
10.

In CSS, h1 can be called as _______

A. property name
B. selector
C. declaration
D. text color
Answer» B. selector
11.

In , CSS “color:red” can be called as _____________

A. property name
B. selector
C. declaration
D. text color
Answer» C. declaration
12.

Reset (button) :- it is used to reset the button ( cancel the data) to upload

A. <reset>
B. checkbox
C. <textarea>
D. <text>
Answer» A. <reset>
13.

_______ describes how HTML elements are to be displayed on screen, paper, or in other media

A. css
B. html
C. <textarea>
D. <text>
Answer» A. css
14.

Websites are uploaded _______

A. address
B. serve
C. cache
D. client
Answer» B. serve
15.

HTML web pages can be read and rendered by __________

A. web browser
B. server
C. empty
D. head tag
Answer» A. web browser
16.

<INPUT> is ________tag.

A. web browser
B. server
C. empty
D. head tag
Answer» C. empty
17.

The HTML tag to left align the content inside a table cell is <td align = “left”>.

A. true
B. false
C. both a and b
D. none of these
Answer» A. true
18.

The body tag usually used after _________

A. web browser
B. server
C. empty
D. head tag
Answer» D. head tag
19.

Tags and text that are not directly displayed on the page are written in ___________section.

A. web browser
B. title
C. empty
D. head
Answer» D. head
20.

Some tags enclose the text. Those tags are known as ___________

A. single tag
B. paired tag
C. empty
D. head
Answer» A. single tag
21.

The <strike> tag is used to _________the text or sentence.

A. single tag
B. paired tag
C. strikeout
D. head
Answer» C. strikeout
22.

The <del> tag is used to display ________ text form a document

A. single tag
B. paired tag
C. strikeout
D. deleted
Answer» D. deleted
23.

_________ is used to give additional information.

A. title tag
B. paired tag
C. strikeout
D. deleted
Answer» A. title tag

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.