Top 50+ Solved JAVA Script MCQ Questions Answer
Q. 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
Q. Which of these operators is used to allocate memory to array variable in Javascript?
a. malloc
b. alloc
c. new
d. new malloc
Q. 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
Q. Which of these selection statements test only for equality?
a. if
b. switch
c. if & switch
d. none of the mentioned
Q. The CSS background properties are used to define the ___________effects.
a. background
b. customize
c. class
d. id rule
Q. CSS border properties allow us to__________ the borders.
a. background
b. customize
c. class
d. id rule
Q. By applying an_______ a style can be applied to just a single tag.
a. background
b. customize
c. class
d. id rule
Q. _________selectors are used to specify a group of elements.
a. background
b. customize
c. class
d. id rule
Q. In CSS, “font-size” can be called as ________
a. property name
b. selector
c. declaration
d. text color
Q. In , CSS “color:red” can be called as _____________
a. property name
b. selector
c. declaration
d. text color
Q. Reset (button) :- it is used to reset the button ( cancel the data) to upload
a. <reset>
b. checkbox
c. <textarea>
d. <text>
Q. _______ describes how HTML elements are to be displayed on screen, paper, or inother media
a. css
b. html
c. <textarea>
d. <text>
Q. HTML web pages can be read and rendered by __________
a. web browser
b. server
c. empty
d. head tag