Showing 3561–3580 of 4795

Q3561.If you want to clear previous screen output while running a C/C++ program, which function will you use?

Easy
A clrscr();
B clear_screen();
C scanf();
D None of these
Computer Terminology PPSC

Correct Answer: A

The clrscr() utility function (part of the non-standard <conio.h> library) clears the console screen in C/C++.

Q3562.Consider the Gantt chart of 3 processes (P1 = 0 to 16, P2 = 16 to 23, P3 = 23 to 30) using First Come First Serve (FCFS) scheduling. What is the finish time of P2?

Easy
A 16
B 23
C 30
D None of these
General MCQs PPSC

Correct Answer: B

As mapped in the FCFS Gantt chart, process P2 starts execution at timestamp 16 and completes (finishes) at timestamp 23.

Q3563.A compiled C language program file typically has which extension?

Easy
A .obj
B .pdf
C .pptx
D None of these
Computer Networks PPSC

Correct Answer: A

C compilers generate machine-language object files, typically saved with a .obj (or .o) extension, before linking.

Q3564.Which of the following computing device does NOT include disk drives?

Easy
A Palmtop Computer
B Laptop Computer
C Notebook Computer
D Desktop Computer
General MCQs PPSC

Correct Answer: A

Palmtops are extremely small, early pocket-sized computing devices that do not have physical rotating disk drives.

Q3565.Which of the following is correct SQL query that displays all columns from the "STUDENT" table?

Easy
A SELECT * FROM STUDENT;
B SELECT ALL FROM STUDENT;
C DISPLAY * FROM STUDENT;
D None of these
Computer Terminology PPSC

Correct Answer: A

The asterisk (*) symbol in a SELECT query acts as a wildcard, instructing the SQL engine to retrieve and display all columns of the table.

Q3566.In Excel, if you want to calculate the sum of cells ranging from C1 to C12, then which of the following formula you will use?

Easy
A
B
C
D None of these
MS Excel PPSC

Correct Answer: B

The colon (:) operator defines a contiguous cell range in Excel, making =SUM(C1:C12) the correct summation formula.

Q3567.When creating a database, what should be the data type of "address" field?

Easy
A Alphabetic
B Integer
C Alpha-numeric
D None of these
Computer Terminology PPSC

Correct Answer: C

Because home addresses contain a mix of alphabetic text, numbers, and special symbols (like commas or hashes), they require an alphanumeric (or text) data type.

Q3568.Which of the following features of MS Word provides appropriate words or alternative words?

Easy
A Spell Check
B Thesaurus
C Index
D None of these
MS Word PPSC

Correct Answer: B

The Thesaurus tool in Microsoft Word suggests alternative words (synonyms) and antonyms to improve document composition.

Q3569.Which of the following is correct syntax for defining Mathematical constant PI using preprocessor directive in C language?

Easy
A # define PI 3.14
B # define PI = 3.14
C define PI = 3.14
D None of these
Computer Terminology PPSC

Correct Answer: A

The preprocessor #define directive does not use an assignment operator (=). Syntax is: #define [NAME] [VALUE].

Q3570.Suppose you are given a text right on MS Word and you have to align each line of the text on equal distance from left and right margins, which of the following alignment you will apply?

Easy
A Justify
B Align text left
C Align text right
D None of these
MS Word PPSC

Correct Answer: A

Justify alignment distributes text evenly between the left and right margins, aligning both vertical margins.

Q3571.Which of the following FORM in stronger than 3rd Normal Form?

Easy
A 2nd Normal Form
B Boyce-Codd Normal Form (BCNF)
C 3rd Normal Form
D None of these
General MCQs PPSC

Correct Answer: B

Boyce-Codd Normal Form (BCNF) is a stricter, stronger variation of 3NF designed to eliminate any remaining anomalies caused by functional dependencies.

Q3572.Which of the following keys (of a keyboard) you will use in combination with other keys to write upper case letters?

Easy
A Shift Key
B CTRL Key
C Alt Key
D None of these
MS Word Shortcut Keys PPSC

Correct Answer: A

The Shift key is a modifier key pressed in combination with alphabet keys to output capital (uppercase) letters.

Q3573.In Consolidated Data distribution strategy, where data is shared?

Easy
A All data are located at a single site
B Data is distributed at different sites
C Data is divided into non-critical segments
D None of these
General MCQs PPSC

Correct Answer: A

Consolidated data distribution strategy requires storing all database tables at a single, centralized server location.

Q3574.Consider a worksheet of MS Excel, If value of F7 cell is 12 and value of H12 cell is 30. Calculate the answer of following formula=F7*H12 _____?

Easy
A 325
B 42
C 360
D None of these
MS Excel PPSC

Correct Answer: C

F7 (12) multiplied by H12 (30) equals 360.

Q3575.In a database, how you can determine location of rows in a table?

Easy
A By using index
B By using conceptual scheme
C By using random file
D None of these
Computer Terminology PPSC

Correct Answer: A

A database index acts as a lookup pointer, allowing the relational engine to find the exact location of rows in a table without scanning everything.

Q3576.Which of the following operating system is multitasking and command drivers?

Easy
A DOS
B UNIX
C Windows XP
D None of these
Computer Terminology PPSC

Correct Answer: B

UNIX is a multitasking operating system that is fundamentally driven by command-line interfaces.

Q3577.Which of the following computers are most powerful and used in research laboratories?

Easy
A Super computers
B Mainframe computers
C Mini computers
D None of these
Computer Basics PPSC

Correct Answer: A

Supercomputers are the most powerful computing systems on Earth, designed for complex scientific modeling in advanced labs.

Q3578.Which of the following is an example of a Visual programming language?

Easy
A Scratch
B ADA
C Assembly Language
D None of these
Computer Terminology PPSC

Correct Answer: A

Scratch is an educational block-based visual programming language developed by MIT.

Q3579.Which of the following is an application of Robots?

Easy
A Computer-based training
B Assembling of cars
C Inventory system
D None of these
General MCQs PPSC

Correct Answer: B

Industrial robotics find major applications in automotive manufacturing plants to automate the precise assembly of cars.

Q3580.If you want to receive data transmission speed of 100 Mbps in a building, then which of the following transmission medium you will use ______?

Easy
A Unshielded Twisted Pair Cable
B Coastal Cable
C Copper Cable
D None of these
Computer Networks PPSC

Correct Answer: A

Unshielded Twisted Pair (UTP) Category 5/5e ethernet cabling is standard for high-speed local data transfers up to 100 Mbps within buildings.