Showing 261–280 of 603

Q261.What is virtual memory in operating systems?

Easy
A A temporary memory in the hard disk
B A permanent memory in the hard disk
C Method of using hard disk space to provide extra memory
D Bad sector on hard disk
Operating Systems PPSC

Correct Answer: C

Virtual memory is an OS technique that uses a portion of secondary storage (hard drive) to pretend to be additional RAM when physical memory runs low.

Q262.Which core part of an Operating System is responsible for managing hardware resources?

Easy
A Compiler
B Kernel
C Browser
D Application Software
Operating Systems PPSC

Correct Answer: B

The Kernel is the heart of an operating system, directly interacting with and managing hardware resources (like memory, CPU, and peripherals).

Q263.Which system call is used in Unix-based operating systems to create a new child process?

Easy
A exec()
B fork()
C wait()
D exit()
Operating Systems PPSC

Correct Answer: B

The fork() system call creates an exact duplicate child process of the parent process in Unix/Linux.

Q264.In database and recovery systems, what are 'checkpoints'?

Easy
A Security passwords
B Backup copies of software
C Saved states of a system for recovery
D Antivirus programs
Database Basics PPSC

Correct Answer: C

Checkpoints are periodically recorded, consistent system states from which the database or OS can resume recovery after a crash.

Q265.In operating systems, different files are primarily recognized and opened by their?

Easy
A Size
B Name
C Extension
D Date
Operating Systems PPSC

Correct Answer: C

The file extension (like .txt, .pdf, or .exe) identifies the file format and tells the OS which application to use to open it.

Q266.In MS Access, which 5-letter term starts with S?

Easy
A Table
B Query
C Sheet
D Form
Database Basics PPSC

Correct Answer: C

In MS Access, when you open a table or query results, Access displays the data in Datasheet view, which is referred to as a Sheet (5 letters). Other 5-letter objects are Table and Query, but they do not start with S.

Q267.Distributed Ledger Technology (DLT) is best defined as?

Easy
A A type of database controlled by a single authority
B Only used for traditional banking
C A cloud storage service
D A network where data is duplicated, shared, and synchronized across multiple locations
Database Basics PPSC

Correct Answer: D

DLT is a decentralized digital system that records and synchronizes transactions across multiple nodes or computers in a network without a central repository.

Q268.A programming loop whose body executes at least a single time is known as a ______?

Easy
A For loop
B While loop
C Do-while loop
D None of these
Programming Basics PPSC

Correct Answer: C

A do-while loop is a post-test loop, meaning its body always executes at least once before checking the loop exit condition.

Q269.Among the following, which data structure uses push() operations on its data elements?

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

Correct Answer: C

A Stack is a LIFO (Last In, First Out) data structure that uses push() to add elements and pop() to remove elements.

Q270.In programming, a named memory location that can hold a changeable value is called a _____?

Easy
A Constant
B Integer
C Variable
D None of these
Programming Basics PPSC

Correct Answer: C

A Variable is a named storage location in memory whose value can be altered during program execution.

Q271.Which of the following operating systems was developed by Apple Inc.?

Easy
A Android
B Mac OS
C Windows
D None of these
Operating Systems PPSC

Correct Answer: B

Mac OS is Apple's proprietary graphical operating system designed for Macintosh computers, launched in 1984.

Q272.A data structure whose elements are organized sequentially in a single, ordered line is known as a ______?

Easy
A Tree data structure
B Non-linear data structure
C Linear data structure
D None of these
Programming Basics PPSC

Correct Answer: C

A Linear Data Structure (like an array, list, stack, or queue) arranges its data elements sequentially where elements are adjacent.

Q273.How many bits of a C++ integer are taken in memory?

Easy
A 32 bits
B 16 bits
C 24 bits
D None of these
Programming Basics PPSC

Correct Answer: A

In most modern C++ compilers and operating system architectures, a standard integer ('int') occupies 4 bytes or 32 bits of memory.

Q274.A set of instructions/steps/rules that are followed to solve a problem is called _____?

Easy
A Procedure
B Method
C Algorithm
D None of these
Programming Basics PPSC

Correct Answer: C

An algorithm is a step-by-step logical sequence of instructions or rules followed to solve a problem or perform computations.

Q275.Google Chrome is a type of?

Easy
A Operating system
B Search engine
C Web browser
D Application software for accounting
Operating Systems PPSC

Correct Answer: C

Google Chrome is a popular cross-platform web browser developed and released by Google in 2008.

Q276.What is a fundamental data structure that stores a collection of elements of same type in contiguous memory locations?

Easy
A Linked List
B Stack
C Data Array
D Queue
Programming Basics PPSC

Correct Answer: C

A data array represents elements of the same type stored sequentially in contiguous memory blocks, allowing fast O(1) index-based access.

Q277.Which of the following operating systems is produced by IBM?

Easy
A OS-2.
B Windows.
C DOS.
D UNIX
Operating Systems PPSC

Correct Answer: A

OS/2 (Operating System/2) was initially a joint project between Microsoft and IBM, which IBM subsequently managed and developed independently.

Q278.Which of the following is not necessary for standalone computer?

Easy
A RAM
B LAN Card
C Operating System
D None of these
Operating Systems PPSC

Correct Answer: B

A standalone computer operates independently without requiring any network connections; thus, a LAN (Local Area Network) Card is not necessary for its operation.

Q279.How is dynamically allocated memory de allocated in C++?

Easy
A Using erase()
B Automatically
C Using delete
D None of these
Programming Basics PPSC

Correct Answer: C

In C++, heap memory dynamically requested using the 'new' keyword must be explicitly freed using the 'delete' keyword to prevent memory leaks.

Q280.Which scheduling algorithm is least prone to starvation?

Easy
A FCFS
B Round Robin
C Shortest Job Next
D None of these
Programming Basics PPSC

Correct Answer: A

FCFS (First Come, First Served) executes processes in their exact order of arrival, guaranteeing that every process runs and preventing starvation entirely.