(A) braces
(B) parentheses
(C) statement
(D) variable name
The answer is: (B) parentheses
Computer MCQs quiz test questions with answers for FPSC CSS PPSC SPSC KPPSC test preparation, including questions from computer science past papers.
(A) braces
(B) parentheses
(C) statement
(D) variable name
The answer is: (B) parentheses
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?
(A) 4
(B) 8
(C) 12
(D) 48
The answer is: (D) 48
(A) syntax
(B) operator
(C) header file
(D) string constant
The answer is: (C) header file
string var1 = “Computer “;
string var2 = “Science”;
string var3 = var1 + var2;
cout << “var3” << endl;
(A) var3
(B) Computer
(C) Science
(D) Computer Science
The answer is: (A) var3
string var1 = “Computer “;
string var2 = “Science”;
string var3 = var1 + var2;
cout << var3 << endl;
If the program is run, what will be displayed on the screen?
(A) var3
(B) Computer
(C) Science
(D) Computer Science
The answer is: (D) Computer Science
(A) digital
(B) decimal
(C) analogue
(D) binary
The answer is: (D) binary
(A) Router
(B) Bridge
(C) Gateway
(D) Node
The answer is: (A) Router
(A) Router
(B) Bridge
(C) Gateway
(D) Node
The answer is: (B) Bridge
(A) Syntax
(B) Program logic
(C) Program Standards
(D) None Of These
The answer is: (A) Syntax
(A) transfer data
(B) protect data
(C) store data
(D) edit data
The answer is: (B) protect data
Encryption is the process of protecting data (text, voice, video) by using mathematical models to scramble it so that only the authorized parties can access it.