Showing 4621–4640 of 4795

Q4621.In DOS compilers like Turbo C++, the console utility function 'clrscr()' is defined within which header file?

Easy
A stdio.h
B iostream
C conio.h
D stdlib.h
Computer Terminology PPSC

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 ______?

Easy
A Inner Loop
B Nested Loop
C Recursive Loop
D Double Loop
Computer Terminology PPSC

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?

Easy
A Text
B Number
C Currency
D AutoNumber
Computer Terminology PPSC

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?

Easy
A Tables
B Queries
C Forms and Reports
D All of the above
Computer Terminology PPSC

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?

Easy
A Opens the browser's settings menu
B Toggles full-screen mode
C Refreshes the current page
D Opens a new tab
Internet & Web PPSC

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?

Easy
A Pascal
B Eiffel
C Ada
D Smalltalk
Computer Terminology PPSC

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?

Easy
A To create a hyperlink
B To apply bold formatting with semantic emphasis
C To insert an image
D To create a line break
General MCQs PPSC

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?

Easy
A To permanently store data
B To execute software applications
C To read and write data temporarily
D To manage network connections
Computer Networks PPSC

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?

Easy
A Primitive data type
B Composite data type
C Derived data type
D Abstract data type
Computer Terminology PPSC

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?

Easy
A Recursion
B Iteration
C Conditional Statement
D Function Call
Computer Basics PPSC

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?

Easy
A Variables and functions only
B Variables, constants, operators, and functions
C Only constants and operators
D Only functions and operators
Computer Terminology PPSC

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?

Easy
A <input type="text" value="checkbox">
B <input type="checkbox">
C <input type="radio" name="checkbox">
D <input type="button" value="checkbox">
Computer Basics PPSC

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?

Easy
A Fiber optic strands and metallic shielding
B Twisted pairs of copper wires and shielding
C Single copper wire and plastic insulation
D Optical fibers and conductive layers
General MCQs PPSC

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.

Easy
A Circuit Switching
B Packet Switching
C Message Switching
D Frame Switching
Computer Networks PPSC

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?

Easy
A Vacuum tubes
B Magnetic drums
C Transistors
D Relays
Computer Basics PPSC

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?

Easy
A Decimal digits
B Hexadecimal digits
C Binary digits
D Octal digits
Computer Basics PPSC

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?

Easy
A #A3C4
B @A1B2
C )A1B2
D *B2A1
General MCQs PPSC

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?

Easy
A struct { ... };
B typedef struct { ... } StructName;
C StructName var;
D #include <iostream>
Computer Terminology PPSC

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?

Easy
A Data Division
B File Section
C Data Item Descriptor
D Picture Clause
Computer Basics PPSC

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?

Easy
A Assembly Language
B High-Level Language
C Machine Language
D Scripting Language
Computer Networks PPSC

Correct Answer: C

The CPU can only execute instructions that are in native machine language (binary 0s and 1s).