Top 50+ Solved JAVA Script MCQ Questions Answer

From 1 to 15 of 23

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

  • c. unicode

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

  • 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

  • a. if

Q. The CSS background properties are used to define the ___________effects.

a. background

b. customize

c. class

d. id rule

  • a. background

Q. CSS border properties allow us to__________ the borders.

a. background

b. customize

c. class

d. id rule

  • b. customize

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

a. background

b. customize

c. class

d. id rule

  • d. id rule

Q. _________selectors are used to specify a group of elements.

a. background

b. customize

c. class

d. id rule

  • c. class

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

a. property name

b. selector

c. declaration

d. text color

  • a. property name

Q. In CSS, h1 can be called as _______

a. property name

b. selector

c. declaration

d. text color

  • b. selector

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

a. property name

b. selector

c. declaration

d. text color

  • c. declaration

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

a. <reset>

b. checkbox

c. <textarea>

d. <text>

  • a. <reset>

Q. Websites are uploaded _______

a. address

b. serve

c. cache

d. client

  • b. serve

Q. HTML web pages can be read and rendered by __________

a. web browser

b. server

c. empty

d. head tag

  • a. web browser
Subscribe Now

Get All Updates & News