C++ MCQ -2

Question 1: The void specifier is used if a function does not have return type. a.       True b.      False   Question 2: You must specify void in parameters if a function does not have any arguments. a.       True b.      False   Question 3: Type specifier is optional when declaring a function a.       True b.      False…

C++ MCQ -1

Question 1. What is the correct value to return to the operating system upon the successful completion of a program? A. -1 B. 1 C. 0 D. Programs do not return a value.   Question 2. What is the only function all C++ programs must contain? A. start() B. system() C. main() D. program()  …

Operating Systems MCQ -8

1 The startup routine runs, when machine boots up is known as         POST         BOOT up         Operating Routine         I/O operation    2 Operating system is also known as:         database         system software         hardware         printer              3  What is the maximum length allowed for primary name of a…

Operating Systems MCQ -2

11.    Which command displays all the files having the same name but different extensions? a.    Dir filename.* b.    Dir filename.ext c.    Dir *.sys d.    Dir *.ext   Correct Answer: a. Dir filename.* Explanation: * is a wild card character that stands for all any character. When you specify filename.*, it meant filename should be specified…

Operating Systems MCQ -1

1.    In MS-Dos 6.22, which part identifies the product uniquely   a.    MS b.    DOS c.    Ms-DOS d.    6.22   Correct Answer: d. 6.22 Explanation: MS stands for Microsoft, DOS is the name of operating system Disk Operating System, 6.22 is the version number that identifies the product.   2.    In Ms-Dos what command you…