Computer — All MCQs
4795 questions available
Q4621.In DOS compilers like Turbo C++, the console utility function 'clrscr()' is defined within which header file?
Correct Answer: C
The clrscr() (clear screen) function belongs to the <conio.h> (console input/output) header file, used for direct console window manipulation.
Q4622.In programming logic, a loop structure that is nested inside the body of another loop is called a ______?
Correct Answer: B
A loop embedded within another loop is termed a nested loop, commonly used to iterate over multi-dimensional grids or tables.
Q4623.What is the default data type assigned to a newly created database field in Microsoft Access?
Correct Answer: A
By default, Access assigns the 'Short Text' (previously 'Text') data type to newly created fields, allowing alphanumeric storage up to 255 characters.
Q4624.A relational database can conventionally store and manage which of the following database objects?
Correct Answer: D
Relational databases contain tables (to store data), queries (to find data), forms (to enter data), and reports (to print summaries).
Q4625.In most modern web browsers, pressing the F11 function key performs which of the following actions?
Correct Answer: B
F11 is the universal function key used in modern web browsers to toggle full-screen display mode.
Q4626.Which programming language, named after a famous French mathematician, can correctly compute 5^3 as 125?
Correct Answer: A
Pascal is a high-level, structured programming language designed by Niklaus Wirth and named in honor of Blaise Pascal.
Q4627.What is the primary purpose of the <strong> tag in HTML?
Correct Answer: B
The HTML <strong> tag formats text as bold on screens while indicating to screen readers that the enclosed text has strong semantic importance.
Q4628.What is the primary purpose of Random Access Memory (RAM) in a computer system?
Correct Answer: C
RAM is a high-speed, volatile primary memory used by the operating system and CPU to read and write active program data temporarily.
Q4629.An array data structure is typically categorized as which of the following data types?
Correct Answer: B
An array is a composite data type because it groups a collection of elements (usually of the same type) into a single logical structure.
Q4630.What term is used to describe the activity of performing the same operation multiple times in computer programming?
Correct Answer: B
Iteration represents the repetitive execution of a sequence of instructions within a loop (such as for, while, or do-while) until a condition is met.
Q4631.An 'expression' in a programming language is defined as a set of which elements?
Correct Answer: B
An expression is any valid combination of variables, constants, mathematical/logical operators, and function calls that can be evaluated to produce a single value.
Q4632.What is the correct HTML code to render an interactive checkbox input field?
Correct Answer: B
The HTML <input type="checkbox"> tag is used to display a checkbox that users can select or deselect.
Q4633.What are the primary components utilized inside Unshielded Twisted Pair (UTP) and Shielded Twisted Pair (STP) cables?
Correct Answer: B
Both UTP and STP network cables use twisted pairs of copper wires to transmit signals, but STP includes an extra shielding layer to resist external electromagnetic interference.
Q4634.A network in which data is divided into blocks and routed dynamically over transmission lines is called a ______ network.
Correct Answer: B
In packet-switching networks, data is broken down into small, manageable packets that travel independently through network routes to their destination.
Q4635.Today, modern digital computer architectures are primarily based on which electronic component technology?
Correct Answer: C
Modern microprocessors and solid-state computer systems are built upon millions or billions of microscopic transistors.
Q4636.Inside a digital computer, all data and program instructions are stored and processed using which type of digits?
Correct Answer: C
Digital systems store and process everything as binary digits (bits: 0s and 1s) representing low and high voltage states.
Q4637.Which of the following codes follows a specific format of beginning with a special symbol followed by a number, a letter, and a number?
Correct Answer: C
The code ')A1B2' matches this specific sequence: special character ')', digit '1', letter 'B', and digit '2'.
Q4638.In a C++ structure, which statement instructs the compiler to allocate memory for an instance of the structure?
Correct Answer: C
Declaring 'StructName var;' defines a variable of type StructName, prompting the compiler to allocate physical stack memory for its instance.
Q4639.In COBOL programming, which clause is specifically used to define the layout, size, and structure of a data item?
Correct Answer: D
The PICTURE (or PIC) clause in COBOL describes the size, format, and type (numeric, alphabetic) of data elements.
Q4640.Before computer hardware can process any high-level instructions, they must be translated into which language?
Correct Answer: C
The CPU can only execute instructions that are in native machine language (binary 0s and 1s).