Computer ScienceComputer Networking PPSCID: LTP-8540
Which cable is commonly used for wired Ethernet connections?
- ATwisted pair cable ✓ Correct answer
- BCoaxial cable
- CFibre optic cable
- DUSB cable
✓ Correct answer: Twisted pair cable
Full explanation
Twisted pair cable is commonly used for wired Ethernet connections. Coaxial cable was used in older networks, fibre optic cable is for long distances and USB cable is for peripherals.
Computer ScienceComputer Networking PPSCID: LTP-8543
Which OSI layer converts data into a format the application can use, including encryption?
- ASession layer
- BTransport layer
- CData Link layer
- DPresentation layer ✓ Correct answer
✓ Correct answer: Presentation layer
Full explanation
The Presentation layer converts data into a format the application can use and handles encryption and compression.
Computer ScienceComputer Networking PPSCID: LTP-8544
Which protocol is used to securely transfer files over a network?
- ASFTP ✓ Correct answer
- BFTP
- CHTTP
- DSMTP
✓ Correct answer: SFTP
Full explanation
SFTP securely transfers files over a network using encryption. FTP transfers files without encryption, HTTP transfers web pages and SMTP sends mail.
Computer ScienceComputer Networking PPSCID: LTP-8547
What is the default port number used by SSH?
- A23
- B25
- C110
- D22 ✓ Correct answer
✓ Correct answer: 22
Full explanation
The default port number used by SSH is 22.
Computer ScienceComputer Networking PPSCID: LTP-8550
What is the default port number used by SMTP for sending email?
- A110
- B143
- C25 ✓ Correct answer
- D53
✓ Correct answer: 25
Full explanation
The default port number used by SMTP for sending email is 25.
Computer ScienceComputer Networking PPSCID: LTP-8551
What is the default port number used by POP3?
- A143
- B25
- C80
- D110 ✓ Correct answer
✓ Correct answer: 110
Full explanation
The default port number used by POP3 is 110.
Computer ScienceComputer Networking PPSCID: LTP-8552
What is the default port number used by IMAP?
- A143 ✓ Correct answer
- B110
- C25
- D443
✓ Correct answer: 143
Full explanation
The default port number used by IMAP is 143.
Computer ScienceComputer Networking PPSCID: LTP-8554
How many bits are there in an IPv4 address?
- A16
- B64
- C32 ✓ Correct answer
- D128
✓ Correct answer: 32
Full explanation
An IPv4 address has 32 bits, written as four decimal numbers separated by dots.
Computer ScienceComputer Networking PPSCID: LTP-8555
How many bits are there in an IPv6 address?
- A32
- B64
- C256
- D128 ✓ Correct answer
✓ Correct answer: 128
Full explanation
An IPv6 address has 128 bits, which gives a vastly larger address space than IPv4.
Computer ScienceComputer Networking PPSCID: LTP-8556
How many bits long is a MAC address?
- A48 ✓ Correct answer
- B32
- C64
- D16
✓ Correct answer: 48
Full explanation
A MAC address is 48 bits long, usually written as six pairs of hexadecimal digits.
Computer ScienceComputer Networking PPSCID: LTP-8557
Which protocol resolves a domain name to an IP address?
- ADHCP
- BDNS ✓ Correct answer
- CFTP
- DSMTP
✓ Correct answer: DNS
Full explanation
DNS resolves a domain name to an IP address. DHCP assigns IP addresses, FTP transfers files and SMTP sends mail.
Computer ScienceComputer Networking PPSCID: LTP-8558
What does the term latency mean in networking?
- AThe number of devices on a network
- BThe maximum speed of a cable
- CThe time taken for data to travel from source to destination ✓ Correct answer
- DThe size of a data packet
✓ Correct answer: The time taken for data to travel from source to destination
Full explanation
Latency is the time taken for data to travel from source to destination.
Computer ScienceComputer Networking PPSCID: LTP-8559
Which protocol resolves an IP address into a MAC address on a local network?
- ARARP
- BDNS
- CDHCP
- DARP ✓ Correct answer
✓ Correct answer: ARP
Full explanation
ARP resolves an IP address into a MAC address on a local network.
Computer ScienceComputer Networking PPSCID: LTP-8561
Which device connects computers within a local network and forwards data to the intended port?
- AHub
- BSwitch ✓ Correct answer
- CRouter
- DModem
✓ Correct answer: Switch
Full explanation
A Switch connects computers within a local network and forwards data to the intended port.
Computer ScienceComputer Networking PPSCID: LTP-8562
Which network device sends incoming data to every connected computer?
- ASwitch
- BRouter
- CHub ✓ Correct answer
- DBridge
✓ Correct answer: Hub
Full explanation
A Hub sends incoming data to every connected computer, unlike a switch which targets one port.
Computer ScienceComputer Networking PPSCID: LTP-8564
In which topology does each device connect to exactly two other devices, forming a ring?
- ARing topology ✓ Correct answer
- BStar topology
- CBus topology
- DMesh topology
✓ Correct answer: Ring topology
Full explanation
In a Ring topology each device connects to exactly two neighbours, forming a ring. In a Star topology all devices connect to a central hub.
Computer ScienceComputer Networking PPSCID: LTP-8567
In which network topology are devices connected in a closed loop?
- AStar topology
- BBus topology
- CMesh topology
- DRing topology ✓ Correct answer
✓ Correct answer: Ring topology
Full explanation
In a Ring topology devices are connected in a closed loop.
Computer ScienceComputer Networking PPSCID: LTP-8568
Which type of network covers a small area such as a single building?
- ALAN ✓ Correct answer
- BWAN
- CMAN
- DPAN
✓ Correct answer: LAN
Full explanation
A LAN covers a small area such as a single building.
Computer ScienceComputer Networking PPSCID: LTP-8569
Which type of network covers a large geographical area such as a country?
- ALAN
- BWAN ✓ Correct answer
- CMAN
- DPAN
✓ Correct answer: WAN
Full explanation
A WAN covers a large geographical area such as a country.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8571
Which type of malware spreads by itself from one computer to another without a host file?
- AVirus
- BTrojan horse
- CSpyware
- DWorm ✓ Correct answer
✓ Correct answer: Worm
Full explanation
A Worm spreads by itself from one computer to another without a host file.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8572
Which type of malware disguises itself as a useful program to trick the user?
- ATrojan horse ✓ Correct answer
- BWorm
- CVirus
- DAdware
✓ Correct answer: Trojan horse
Full explanation
A Trojan horse disguises itself as a useful program to trick the user.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8573
Which type of malware encrypts a victim's files and demands payment for their release?
- ASpyware
- BRansomware ✓ Correct answer
- CAdware
- DRootkit
✓ Correct answer: Ransomware
Full explanation
Ransomware encrypts a victim's files and demands payment for their release.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8574
Which type of malware secretly collects information about a user's activity?
- ARansomware
- BWorm
- CSpyware ✓ Correct answer
- DVirus
✓ Correct answer: Spyware
Full explanation
Spyware secretly collects information about a user's activity.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8575
Which type of malware displays unwanted advertisements on a computer?
- ASpyware
- BRansomware
- CRootkit
- DAdware ✓ Correct answer
✓ Correct answer: Adware
Full explanation
Adware displays unwanted advertisements on a computer.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8576
Which type of malware hides itself deep in a system to avoid detection?
- ARootkit ✓ Correct answer
- BAdware
- CSpyware
- DWorm
✓ Correct answer: Rootkit
Full explanation
A Rootkit hides itself deep in a system to avoid detection.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8577
Which type of malware records every key pressed on a keyboard?
- ARootkit
- BKeylogger ✓ Correct answer
- CAdware
- DWorm
✓ Correct answer: Keylogger
Full explanation
A Keylogger records every key pressed on a keyboard.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8579
What is a DDoS attack?
- AAn attack that steals passwords from a browser
- BA virus that deletes files
- CA method of encrypting emails
- DAn attack that floods a server with traffic to make it unavailable ✓ Correct answer
✓ Correct answer: An attack that floods a server with traffic to make it unavailable
Full explanation
An attack that floods a server with traffic to make it unavailable is called a DDoS attack.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8580
What is a brute force attack?
- ATrying every possible password until the correct one is found ✓ Correct answer
- BGuessing a password from personal details
- CStealing a password with a fake website
- DCopying a password from a sticky note
✓ Correct answer: Trying every possible password until the correct one is found
Full explanation
Trying every possible password until the correct one is found is called a brute force attack.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8581
What is a man-in-the-middle attack?
- AAn attacker floods a server with traffic
- BAn attacker secretly intercepts communication between two parties ✓ Correct answer
- CAn attacker deletes files from a server
- DAn attacker copies a website's design
✓ Correct answer: An attacker secretly intercepts communication between two parties
Full explanation
A man-in-the-middle attack is when an attacker secretly intercepts communication between two parties.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8582
What is SQL injection?
- AA way of speeding up SQL queries
- BA method of backing up a database
- CInserting malicious SQL code into a website input to attack its database ✓ Correct answer
- DA type of database index
✓ Correct answer: Inserting malicious SQL code into a website input to attack its database
Full explanation
SQL injection is inserting malicious SQL code into a website input to attack its database.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8583
What is cross-site scripting (XSS)?
- AA method of designing web pages
- BA way of compressing images
- CA type of firewall rule
- DInjecting malicious scripts into a trusted website viewed by others ✓ Correct answer
✓ Correct answer: Injecting malicious scripts into a trusted website viewed by others
Full explanation
Cross-site scripting (XSS) is injecting malicious scripts into a trusted website viewed by others.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8584
What is social engineering in cyber security?
- AManipulating people into revealing confidential information ✓ Correct answer
- BBuilding social media websites
- CEngineering computer hardware
- DWriting software for social networks
✓ Correct answer: Manipulating people into revealing confidential information
Full explanation
Social engineering is manipulating people into revealing confidential information.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8585
What is a zero-day vulnerability?
- AA flaw fixed on the day it is found
- BA security flaw that is unknown to the software maker and has no fix yet ✓ Correct answer
- CA virus that lasts for zero days
- DA password that expires in a day
✓ Correct answer: A security flaw that is unknown to the software maker and has no fix yet
Full explanation
A zero-day vulnerability is a security flaw that is unknown to the software maker and has no fix yet.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8588
What is encryption?
- AConverting data into a coded form that only authorised people can read ✓ Correct answer
- BCompressing data to save space
- CDeleting data permanently
- DCopying data to another drive
✓ Correct answer: Converting data into a coded form that only authorised people can read
Full explanation
Encryption is converting data into a coded form that only authorised people can read.
Computer ScienceComputer Security & Viruses PPSCID: LTP-8589
Which encryption method uses the same key to encrypt and decrypt data?
- AAsymmetric encryption
- BSymmetric encryption ✓ Correct answer
- CHashing
- DDigital signature
✓ Correct answer: Symmetric encryption
Full explanation
Symmetric encryption uses the same key to encrypt and decrypt data.
Computer ScienceOperating Systems PPSCID: LTP-8592
Which file system is used by default on macOS?
- AAPFS ✓ Correct answer
- BNTFS
- Cext4
- DFAT32
✓ Correct answer: APFS
Full explanation
APFS is the file system used by default on macOS.
Computer ScienceOperating Systems PPSCID: LTP-8594
What is a process in an operating system?
- AA file stored on disk
- BA hardware device
- CA program in execution ✓ Correct answer
- DA user account
✓ Correct answer: A program in execution
Full explanation
A process is a program in execution.
Computer ScienceOperating Systems PPSCID: LTP-8595
What is a thread?
- AA type of file
- BA hardware cable
- CA user password
- DThe smallest unit of execution within a process ✓ Correct answer
✓ Correct answer: The smallest unit of execution within a process
Full explanation
A thread is the smallest unit of execution within a process.
Computer ScienceOperating Systems PPSCID: LTP-8596
What is deadlock in an operating system?
- AA situation where processes wait forever for resources held by each other ✓ Correct answer
- BA situation where the computer shuts down
- CA type of virus
- DA memory error
✓ Correct answer: A situation where processes wait forever for resources held by each other
Full explanation
Deadlock is a situation where processes wait forever for resources held by each other.
Computer ScienceOperating Systems PPSCID: LTP-8597
Which scheduling algorithm serves processes in the order they arrive?
- AShortest Job First
- BFirst Come First Served ✓ Correct answer
- CRound Robin
- DPriority Scheduling
✓ Correct answer: First Come First Served
Full explanation
First Come First Served serves processes in the order they arrive.
Computer ScienceOperating Systems PPSCID: LTP-8598
Which scheduling algorithm selects the process with the shortest burst time first?
- ARound Robin
- BFirst Come First Served
- CShortest Job First ✓ Correct answer
- DPriority Scheduling
✓ Correct answer: Shortest Job First
Full explanation
Shortest Job First selects the process with the shortest burst time first. Round Robin gives each process a fixed time slice and First Come First Served uses arrival order.
Computer ScienceOperating Systems PPSCID: LTP-8599
Which scheduling algorithm runs the process with the smallest execution time first?
- ARound Robin
- BFirst Come First Served
- CPriority Scheduling
- DShortest Job First ✓ Correct answer
✓ Correct answer: Shortest Job First
Full explanation
Shortest Job First runs the process with the smallest execution time first.
Computer ScienceOperating Systems PPSCID: LTP-8600
What is virtual memory?
- AUsing disk space as an extension of RAM ✓ Correct answer
- BMemory inside the processor
- CMemory on a USB drive
- DA type of cache
✓ Correct answer: Using disk space as an extension of RAM
Full explanation
Virtual memory is using disk space as an extension of RAM.
Computer ScienceOperating Systems PPSCID: LTP-8601
What is paging in memory management?
- ADividing a disk into folders
- BDividing memory into fixed-size blocks called pages ✓ Correct answer
- CSplitting a file into lines
- DCopying data to a USB
✓ Correct answer: Dividing memory into fixed-size blocks called pages
Full explanation
Paging is dividing memory into fixed-size blocks called pages.
Computer ScienceInternet PPSCID: LTP-8603
What is the name of the part of a URL before ://, such as https?
- ADomain
- BPath
- CQuery
- DScheme ✓ Correct answer
✓ Correct answer: Scheme
Full explanation
The Scheme is the name of the part of a URL before ://, such as https.
Computer ScienceInternet PPSCID: LTP-8604
What does the S in HTTPS stand for?
- ASecure ✓ Correct answer
- BSimple
- CStandard
- DServer
✓ Correct answer: Secure
Full explanation
The S in HTTPS stands for Secure.
Computer ScienceInternet PPSCID: LTP-8606
Which program is used to view websites on the internet?
- AWord processor
- BSpreadsheet
- CWeb browser ✓ Correct answer
- DMedia player
✓ Correct answer: Web browser
Full explanation
A Web browser is the program used to view websites on the internet.
Computer ScienceInternet PPSCID: LTP-8607
Which website helps you find information on the internet by keyword?
- AWeb browser
- BEmail client
- CFile manager
- DSearch engine ✓ Correct answer
✓ Correct answer: Search engine
Full explanation
A Search engine helps you find information on the internet by keyword.
Computer ScienceInternet PPSCID: LTP-8608
What is the main function of an ISP?
- ATo provide internet access to users ✓ Correct answer
- BTo build websites
- CTo sell computers
- DTo repair printers
✓ Correct answer: To provide internet access to users
Full explanation
The main function of an ISP is to provide internet access to users.
Computer ScienceInternet PPSCID: LTP-8609
Which company provides a home with its internet connection?
- AWeb designer
- BInternet Service Provider ✓ Correct answer
- CComputer manufacturer
- DSoftware developer
✓ Correct answer: Internet Service Provider
Full explanation
An Internet Service Provider is the company that provides a home with its internet connection.
Computer ScienceInternet PPSCID: LTP-8611
Which domain extension is used for commercial websites?
- A.edu
- B.gov
- C.org
- D.com ✓ Correct answer
✓ Correct answer: .com
Full explanation
The domain extension .com is used for commercial websites.
Computer ScienceDatabases & DBMS PPSCID: LTP-8612
Which software is used to create and manage a database?
- ADatabase Management System ✓ Correct answer
- BWord processor
- CWeb browser
- DSpreadsheet
✓ Correct answer: Database Management System
Full explanation
A Database Management System is the software used to create and manage a database.
Computer ScienceDatabases & DBMS PPSCID: LTP-8613
In SQL, which clause is used to filter groups after GROUP BY?
- AWHERE
- BHAVING ✓ Correct answer
- CORDER BY
- DLIMIT
✓ Correct answer: HAVING
Full explanation
HAVING filters groups after GROUP BY. WHERE filters individual rows before grouping, ORDER BY sorts results and LIMIT restricts the number of rows.
Computer ScienceDatabases & DBMS PPSCID: LTP-8614
What is a primary key?
- AA field that links two tables
- BA password for a database
- CA field that uniquely identifies each record in a table ✓ Correct answer
- DThe first column of a table
✓ Correct answer: A field that uniquely identifies each record in a table
Full explanation
A primary key is a field that uniquely identifies each record in a table.
Computer ScienceDatabases & DBMS PPSCID: LTP-8615
What is a foreign key?
- AA key that is no longer used
- BA password for a foreign user
- CThe last column of a table
- DA field that links a table to the primary key of another table ✓ Correct answer
✓ Correct answer: A field that links a table to the primary key of another table
Full explanation
A foreign key is a field that links a table to the primary key of another table.
Computer ScienceDatabases & DBMS PPSCID: LTP-8616
What is a candidate key?
- AA field or combination of fields that can uniquely identify a record ✓ Correct answer
- BA key used by candidates in exams
- CA temporary password
- DA duplicate of the primary key
✓ Correct answer: A field or combination of fields that can uniquely identify a record
Full explanation
A candidate key is a field or combination of fields that can uniquely identify a record.
Computer ScienceDatabases & DBMS PPSCID: LTP-8618
Which language do you use to ask a database for information?
- AHTML
- BCSS
- CSQL ✓ Correct answer
- DJavaScript
✓ Correct answer: SQL
Full explanation
SQL is the language you use to ask a database for information.
Computer ScienceDatabases & DBMS PPSCID: LTP-8619
Which SQL command retrieves data from a table?
- AINSERT
- BUPDATE
- CDELETE
- DSELECT ✓ Correct answer
✓ Correct answer: SELECT
Full explanation
The SELECT command retrieves data from a table.
General KnowledgeBasic General Knowledge PPSCID: LTP-8625
Which continent, home to China and India, covers the greatest land area on Earth?
- AAfrica
- BAsia ✓ Correct answer
- CEurope
- DNorth America
✓ Correct answer: Asia
Full explanation
Asia is the continent that covers the greatest land area on Earth.
General KnowledgeBasic General Knowledge PPSCID: LTP-8626
Which famous wall in China stretches for thousands of kilometres across the north?
- ABerlin Wall
- BHadrian's Wall
- CGreat Wall of China ✓ Correct answer
- DWestern Wall
✓ Correct answer: Great Wall of China
Full explanation
The Great Wall of China stretches for thousands of kilometres across the north of China.
EnglishGrammar PPSCID: LTP-8620
Choose the sentence that is grammatically correct.
- AShe goes to school every day. ✓ Correct answer
- BShe go to school every day.
- CShe going to school every day.
- DShe gone to school every day.
✓ Correct answer: She goes to school every day.
Full explanation
The correct sentence is She goes to school every day.
Everyday ScienceHuman Body PPSCID: LTP-8638
Which cells in human blood are responsible for carrying oxygen to the tissues?
- AWhite blood cells
- BPlatelets
- CRed blood cells ✓ Correct answer
- DPlasma cells
✓ Correct answer: Red blood cells
Full explanation
Red blood cells are responsible for carrying oxygen to the tissues.
MathematicsPercentages PPSCID: LTP-8639
A shopkeeper gives a 25% discount on an item priced at 200 rupees. How many rupees is the discount?
- A40
- B60
- C25
- D50 ✓ Correct answer
✓ Correct answer: 50
Full explanation
A 25% discount on 200 rupees is 50 rupees.
Pakistan StudiesPakistan History PPSCID: LTP-8630
When was Pakistan created?
- A23 March 1940
- B14 August 1948
- C14 August 1947 ✓ Correct answer
- D25 December 1947
✓ Correct answer: 14 August 1947
Full explanation
Pakistan was created on 14 August 1947.