- Home
- MCQs by exam
- PPSC
- Computer Science MCQs
PPSC MCQs – Computer Science MCQs
44 multiple choice questions typical of the PPSC exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
Database Management System
Correct answer
-
B
Data Management System
-
C
Database Manipulation System
-
D
Data Manipulation System
-
A
Dart
-
B
Kotlin
-
C
Swift
Correct answer
-
D
C#
-
A
A compressed image used for wallpapers
-
B
The file type used for iPhone app backups
-
C
A database file storing phone contacts
-
D
The package format used to install Android apps
Correct answer
-
A
It links the page to a JavaScript file
-
B
It loads the default CSS stylesheet
-
C
It enables HTML5 standards mode
Correct answer
-
D
It creates the page's main heading
-
A
To set the width and height of the image
-
B
To add a border around the image
-
C
To describe the image for screen readers
Correct answer
-
D
To link the image to another web page
-
A
An array of three strings
Correct answer
-
B
A boolean true value
-
C
A single joined string
-
D
The number 3
-
A
$_SERVER
-
B
$_FILES
-
C
$_POST
Correct answer
-
D
$_GET
-
A
null
-
B
5
-
C
true
-
D
false
Correct answer
-
A
sizeof()
-
B
length()
-
C
count()
-
D
strlen()
Correct answer
-
A
3306
Correct answer
-
B
5432
-
C
1433
-
D
8080
-
A
Deployment diagram
-
B
Component diagram
-
C
Class diagram
-
D
Use case diagram
Correct answer
-
A
Check that the user interface looks attractive
-
B
Test the system's speed under very heavy load
-
C
Confirm changes have not broken old features
Correct answer
-
D
Estimate the cost of developing new software
-
A
With a three-way handshake: SYN, SYN-ACK, ACK
Correct answer
-
B
With a four-way FIN and ACK exchange
-
C
With a single SYN packet sent by the client
-
D
With a two-way exchange: SYN and then ACK
-
A
110
-
B
53
Correct answer
-
C
25
-
D
80
-
A
DHCP
Correct answer
-
B
SMTP
-
C
DNS
-
D
ARP
-
A
Variable-size contiguous partitions
-
B
Pure segmentation of memory
-
C
Fixed-size partitions or pages
Correct answer
-
D
Periodic memory compaction
-
A
Nothing; each thread has private memory
-
B
Their individual call stacks
-
C
Program counter and registers
-
D
Code, data and heap memory
Correct answer
-
A
Binary semaphore
Correct answer
-
B
Counting semaphore
-
C
Monitor
-
D
Condition variable
-
A
The disk scheduler serves requests in random order
-
B
Two processes wait forever for each other's resources
-
C
The system spends more time paging than executing
Correct answer
-
D
The CPU overheats and lowers its clock speed
-
A
First-Come, First-Served
-
B
Shortest Job First
Correct answer
-
C
Round Robin
-
D
Priority with aging
-
A
Compiling C# code into CIL
-
B
Profiling memory leaks at runtime
-
C
Managing third-party library packages
Correct answer
-
D
Hosting web apps on IIS servers
-
A
Value type
Correct answer
-
B
Pointer type
-
C
Delegate type
-
D
Reference type
-
A
Feature scaling
-
B
Clustering
Correct answer
-
C
Regression
-
D
Classification
-
A
Hold a conversation indistinguishable from a human's
Correct answer
-
B
Recognise faces more accurately than people
-
C
Solve mathematical problems faster than humans
-
D
Learn to play chess without being programmed
-
A
Association rule mining
-
B
Unsupervised learning
-
C
Supervised learning
Correct answer
-
D
Reinforcement learning