Showing 201–220 of 603

Q201.A data structure known as FILO (First In Last Out) would be considered as _____?

Easy
A Queue
B Stack
C Priority queue
D None of these
Programming Basics PPSC

Correct Answer: B

FILO (First In Last Out) means the first inserted item is removed last. This behavior matches a Stack data structure.

Q202.Which of the following is a Client Operating System?

Easy
A Windows Server 2016
B Windows Server 2012
C Windows 10
D None of these
Operating Systems PPSC

Correct Answer: C

Windows 10 is designed for client personal PCs, whereas the others are server operating systems.

Q203.Angular is framework of?

Easy
A Php
B javaScript.
C Python
D None of these
Programming Basics PPSC

Correct Answer: B

Angular is an open-source JavaScript and TypeScript-based web application framework developed by Google.

Q204.ERIC is a?

Easy
A Plagiarism technique in research
B Database in education
C Software
D None of these
Database Basics PPSC

Correct Answer: B

ERIC (Education Resources Information Center) is a comprehensive online database of education-related literature.

Q205.DOS stands for ______?

Easy
A Digital operating system
B Disk operation system
C Disk operating system
D None of these
Operating Systems PPSC

Correct Answer: C

DOS stands for Disk Operating System, a CLI-based OS.

Q206.Which of the following best defines a hotkey in the context of office automation?

Easy
A A programming language used to create desktop applications
B A software that manages hardware resources in a system
C A combination of keys is pressed to perform a specific function quickly
D None of these
Programming Basics PPSC

Correct Answer: C

A hotkey is a combination of keys pressed to execute an automated command quickly.

Q207.Time-sharing operating systems can also be considered as?

Easy
A Single tasking
B Real-time
C Multitasking
D None of these
Operating Systems PPSC

Correct Answer: C

Time-sharing systems allow multiple users to share CPU cycles, making them multitasking environments.

Q208.When installing the Windows 10 operating system on a computer, what is the minimum storage space required?

Easy
A 64 GB
B 32 GB
C 16 GB
D None of these
Operating Systems PPSC

Correct Answer: B

Microsoft specifies a minimum of 32 GB storage space to install Windows 10.

Q209.To uniquely identify a record in a table we need a _____ key.

Easy
A Foreign key
B Primary key
C Table key
D None of these
Database Basics PPSC

Correct Answer: B

A Primary Key enforces unique identification of each record in a database table.

Q210.Which one of the following could be a line of code from Machine Language programming?

Easy
A Print("Hello world")
B Cout<<"Hello world"
C 10101110111101111
D None of these
Programming Basics PPSC

Correct Answer: C

Machine language is the lowest-level language consisting entirely of binary instructions.

Q211.Among the following, which one is not a function of an operating system?

Easy
A Text editing
B Booting
C Memory management
D I/O management
Operating Systems PPSC

Correct Answer: A

Text editing is an application-level task (e.g. MS Word), not a core utility of an operating system.

Q212.Which of the following options is a branch of Artificial Intelligence (AI)?

Easy
A Machine learning
B Programming
C Deep thinking
D None of these
Common Technical Terms PPSC

Correct Answer: A

Machine Learning (ML) is a core scientific discipline and branch of AI.

Q213.How does C++ handle lexicographical string comparison?

Easy
A By length only
B By character ASCII values in order
C Randomly
D By reversing strings
Programming Basics PPSC

Correct Answer: B

C++ compares strings alphabetically (lexicographically) using character-by-character ASCII values.

Q214.What is the use of templates in C++?

Easy
A Optimization
B Reduce memory loss
C Code reusability (generic programming)
D Memory allocation
Programming Basics PPSC

Correct Answer: C

Templates enable generic programming, allowing the same code logic to be reused for multiple datatypes.

Q215.Which language is used for server-side rendering?

Easy
A HTML
B CSS
C Python
D JavaScript
Programming Basics PPSC

Correct Answer: C

Python, using frameworks like Django or Flask, is a server-side language frequently used for SSR.

Q216.What is the main purpose of a namespace in C++?

Easy
A To store variables
B To group identifiers and avoid name conflicts
C To create new functions
D To allocate memory
Programming Basics PPSC

Correct Answer: B

Namespaces group entities and prevent identifier name collisions in large codebases.

Q217.In SQL, which command is used to remove all rows from a table without deleting the table structure?

Easy
A DELETE
B DROP
C TRUNCATE
D REMOVE
Database Basics PPSC

Correct Answer: C

The TRUNCATE command rapidly deletes all rows in a table without logging individual deletions, preserving structure.

Q218.Which algorithm is used for symmetric encryption?

Easy
A RSA
B AES
C SHA-256
D Diffie-Hellman
Programming Basics PPSC

Correct Answer: B

AES (Advanced Encryption Standard) is a symmetric encryption algorithm. Symmetric encryption uses the same key for encryption and decryption. RSA and Diffie-Hellman are asymmetric algorithms using public/private keys. SHA-256 is a hash function, not an encryption algorithm.

Q219.What will happen in the following C++ code? extern void display(); int main() { display(); }

Easy
A Program runs successfully
B Compile-time syntax error
C Undefined reference (linker error)
D Infinite loop
Programming Basics PPSC

Correct Answer: C

The extern keyword declares a function without providing its definition. display() is called in main, but the compiler cannot find its actual implementation. Compilation passes the syntax check, but linking fails. The linker reports an undefined reference error.

Q220.What is the issue in the following C++ function? void show(int x = 5, int y = 10)

Easy
A Default values are not allowed in functions
B Default parameters must be declared from right to left
C Parameters must be initialized to zero
D Function syntax is invalid
Programming Basics PPSC

Correct Answer: B

In C++, default arguments must be assigned from right to left. If a parameter has a default value, all parameters to its right must also have defaults. The rule ensures unambiguous function calls.