Showing 401–420 of 603

Q401.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
Database Basics 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.

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

Easy
A DOS
B UNIX
C Windows XP
D None of these
Operating Systems PPSC

Correct Answer: B

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

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

Easy
A Scratch
B ADA
C Assembly Language
D None of these
Programming Basics PPSC

Correct Answer: A

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

Q404.Which of the following is an employee "Physics" stored in database then which option is correct regarding absolute domains of databases?

Easy
A This name does not satisfy semantic description of "Name" attribute
B This name satisfies the semantic description of "Name" attribute
C This is a valid name shared in database
D None of these
Database Basics PPSC

Correct Answer: A

In databases, semantic constraints specify expected attribute meaning; storing a school subject name ('Physics') under an employee's personal name attribute violates these constraints.

Q405.Which option in the following best explains Signals with reference to Linux Interprocess Communication (LPC)?

Easy
A Signals are asynchronous messages sent to a process
B Signals provide communication with external devices
C Signals eliminate the page faults in operating system
D None of these
Operating Systems PPSC

Correct Answer: A

In Linux systems programming, a signal is an asynchronous system notification sent to a running process to report an event.

Q406.What does the getche() function do in C/C++?

Easy
A It will display the character on the screen that user has entered
B It reads a character from the keyboard without displaying it on the screen
C It reads a string from the user
D None of these
Programming Basics PPSC

Correct Answer: A

The getche() function reads a single keystroke immediately and echoes (displays) the character on the console screen.

Q407.Which of the following is/are an example of a Procedural programming language?

Easy
A FORTRAN
B C
C Pascal
D All of these
Programming Basics PPSC

Correct Answer: D

C, FORTRAN, and Pascal are classic examples of procedural (imperative, third-generation) programming languages.

Q408.What is one use of a Report generated with reference to DBMS?

Easy
A It is used to manipulate relational database
B It provides an on screen document from the database
C It is used to execute SQL query
D None of these
Database Basics PPSC

Correct Answer: B

In database systems, a Report compiles, formats, and displays database records as a structured, readable on-screen or printable document.

Q409.What do you understand from Concurrency control in databases?

Easy
A It is a situation in which only one admin can enter data in database.
B It is a situation in which two or more users access the same record simultaneously.
C It is a situation where one user enters data without validation in the database.
D None of these
Database Basics PPSC

Correct Answer: B

Concurrency control is a database safety mechanism designed to coordinate and manage simultaneous read/write transactions on the same records by multiple users.

Q410.Operating system is considered as _____ of computer.

Easy
A Soul
B Central part
C Core
D None of these
Operating Systems PPSC

Correct Answer: A

The Operating System is metaphorically called the 'soul' of the computer because, without it, the hardware remains completely inactive and unusable.

Q411.Android operating system is used in ______?

Easy
A Laptop
B Computer
C Mobile
D None of these
Operating Systems PPSC

Correct Answer: C

Android is a widely popular open-source operating system designed primarily for mobile touchscreen devices like smartphones and tablets.

Q412.The ____ error cannot be detected by a computer.

Easy
A Logical
B Run time
C Syntax
D None of these
Programming Basics PPSC

Correct Answer: A

Logical errors represent mistakes in program logic (resulting in incorrect output without crashing), which compilers or runtimes cannot auto-detect.

Q413.A computer cannot function without _____?

Easy
A Microsoft Office
B Internet Connection
C Operating System
D Antivirus Protection
Operating Systems PPSC

Correct Answer: C

An Operating System is absolutely mandatory to run a computer, serving as the bridge between hardware resources and application software.

Q414.Dividing a number by zero is an example of _____ error.

Easy
A Bug
B Syntax
C Logical
D None of these
Programming Basics PPSC

Correct Answer: C

Dividing by zero compiles successfully but causes a runtime mathematical exception, representing a logical error in code design.

Q415.Which statement shifts the control back to the beginning of the loop?

Easy
A loop
B continue
C switch
D None of these
Programming Basics PPSC

Correct Answer: B

The continue statement in programming skips the remainder of the current loop iteration and returns control to the loop's start condition.

Q416.High-level programming languages are classified into ______ categories.

Easy
A 4
B 2
C 3
D None of these
Programming Basics PPSC

Correct Answer: C

High-level programming languages are commonly classified into three primary categories based on paradigm: Procedural, Object-Oriented, and Functional.

Q417.A table in a database must have ______?

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

Correct Answer: B

A database table must contain a Primary Key to uniquely identify each row or record and enforce entity integrity constraints.

Q418.A person who is responsible for the design, implementation, maintenance and repair of entire database is called ______ administrator.

Easy
A Database
B System
C Network
D None of these
Database Basics PPSC

Correct Answer: A

A Database Administrator (DBA) manages the design, security, configuration, optimization, and recovery of database systems.

Q419.In order to create tables, storing, retrieving or updating data in a database the specific language used is _____?

Easy
A Structured Query Language
B Pascal
C Any high level language
D None of these
Database Basics PPSC

Correct Answer: A

Structured Query Language (SQL) is the standardized declarative language designed specifically for managing data within relational database management systems.

Q420.A database model that has a general appearance like an organizational chart is called ______ model.

Easy
A Complex
B Relational
C Hierarchical
D None of these
Database Basics PPSC

Correct Answer: C

The Hierarchical model arranges data structures in a tree-like hierarchy, resembling an organizational chart with strict parent-child relationships.