Computer Science Quiz

Home: Computer Science MCQs

Q. The major language of World Wide Web (WWW) is
(A) HTML
(B) PHP
(C) ASP.NET
(D) Java

The answer is: (A) HTML ☑

Q. Which computer language is used to design display of an HTML web page?
(A) PHP
(B) Java
(C) CSS
(D) ASP.NET

The answer is: (C) CSS ☑

Q. In a program where user inputs the roll number and the program displays the marks obtained, which of the following is suitable?
(A) for loop
(B) do-while loop
(C) if/ else statement
(D) switch statement

The answer is: (D) switch statement ☑

Q. In which loop, the loop body executes at least once?
(A) for loop
(B) while loop
(C) do-while loop
(D) none of these

The answer is: (C) do-while loop ☑

Q. In C++, a pointer is
(A) address of a variable
(B) variable for storing addresses
(C) data type of an address variable
(D) constant value

The answer is: (B) variable for storing addresses ☑

Computer Science MCQs
Page: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10