Computer Science Quiz

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

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

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

23. 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

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

25. 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

ANSWERS: COMPUTER SCIENCE QUIZ
21. (A) HTML
22. (C) CSS
23. (D) switch statement
24. (C) do-while loop
25. (B) variable for storing addresses. Next: Computer Quiz 26–30