Basic computer science multiple choice questions (MCQs) quiz with answers for computer, IT test preparation. Basic knowledge about computer in question and answer format. Link to computer science MCQs PDF is given below. Answers to these computer science questions are given after the 5th computer MCQ.
Computer Science MCQs
Q. A computer program that translates one statement of program instructions at a time into machine language is called
The answer is: (B) Interpreter ☑
Q. NTFS stands for?
(A) New Trend File Saving
(B) Network File Saving
(C) New Technology File System
(D) None Of These
The answer is: (C) New Technology File System ☑
Q. Which variable type can have only two possible values?
The answer is: (D) bool ☑
Q. In computer science and information technology (IT), DNS is an abbreviation of
(A) Direct Name System
(B) Domain Name System
(C) Direct Name Software
(D) Domain Name Software
The answer is: (B) Domain Name System ☑
Q. In C++, the library function exit() causes an exit from the
(B) loop in which it occurs
(C) function in which it occurs
(D) program in which it occurs
The answer is: (D) program in which it occurs ☑
Q. In C++, a function name must be followed by
(D) variable name
The answer is: (B) parentheses ☑
Q. Consider the main body of a program,
string a = “4”;
string b = “8”;
string c = a + b;
cout << c << endl;
If the program is run, what will be displayed on the screen?
The answer is: (D) 48 ☑
COMPUTER SCIENCE MCQS QUESTIONS WITH ANSWERS TEST.