Computer ScienceDatabases & DBMS BPSCID: BPP-2128
Entity integrity ensures that no two rows in a table have the same
- APrimary Key ✓ Correct answer
- BForeign Key
- CComposite Key
- Da and b
✓ Correct answer: Primary Key
Full explanation
Referential integrity rests on the primary key, which uniquely identifies each row in the referenced table, so no two rows have the same primary key.
Computer ScienceSQL BPSCID: BPP-2129
The query create index belongs to which of the following
- ASQL
- BPL/SQL
- CDDL ✓ Correct answer
- DDML
✓ Correct answer: DDL
Full explanation
CREATE INDEX is a data definition statement, so it belongs to DDL.
Computer ScienceOperating Systems BPSCID: BPP-2130
Which type of Operating system has small footprint, and specific device functionality
- AEmbedded ✓ Correct answer
- BReal-time
- CTime-sharing
- DMulti programming
✓ Correct answer: Embedded
Full explanation
An embedded operating system has a small footprint and specific device functionality.
Computer ScienceOperating Systems BPSCID: BPP-2131
Which job scheduling algorithm are less prone to starvation
- AFCFS
- BSJF
- CRound Robin ✓ Correct answer
- DMulti level Queue
✓ Correct answer: Round Robin
Full explanation
Round Robin gives every process a time slice in turn, so it is less prone to starvation than SJF.
Computer ScienceSoftware BPSCID: BPP-2132
Which software development model is most suitable for gathering user feedback early
- AWaterfall
- BAgile
- CSpiral
- DPrototype ✓ Correct answer
✓ Correct answer: Prototype
Full explanation
The prototype model builds an early working model for users to try, so it is most suitable for gathering user feedback early.
Computer ScienceSoftware BPSCID: BPP-2133
Non Functional testing includes which of the following
- Afocus on user stories
- Bblack box testing
- Cuser acceptance testing
- Dnone of them ✓ Correct answer
✓ Correct answer: none of them
Full explanation
None of the listed items is a non-functional test type, so the answer is none of them.
Computer ScienceComputer Networking BPSCID: BPP-2134
Network layer of the OSI model deals with which of the following
- ANetwork Address Management
- BPacket forwarding
- CRouting Protocols
- DAll of them ✓ Correct answer
✓ Correct answer: All of them
Full explanation
The network layer handles network address management, packet forwarding and routing protocols, so all of them apply.
Computer ScienceInternet BPSCID: BPP-2135
Which protocol provides foundation of communication between web browser and web server
- ASMTP
- BFTP
- CIMAP
- DHTTP ✓ Correct answer
✓ Correct answer: HTTP
Full explanation
HTTP provides the foundation of communication between a web browser and a web server.
Computer ScienceComputer Security & Viruses BPSCID: BPP-2136
Which of the following encrypts a victim's files, making them inaccessible
- ARansomware ✓ Correct answer
- BSpyware
- CKeyloggers
- DAll of them
✓ Correct answer: Ransomware
Full explanation
Ransomware encrypts a victim's files, making them inaccessible until a ransom is paid.
Computer ScienceComputer Security & Viruses BPSCID: BPP-2137
Public Key encryption is used by which of the following
- AHTTPS
- BEmail encryption
- CSoftware Signing
- DAll of them ✓ Correct answer
✓ Correct answer: All of them
Full explanation
Public key encryption is used by HTTPS, email encryption and software signing, so all of them use it.
Computer ScienceComputer Security & Viruses BPSCID: BPP-2139
Which security principle ensures that only authorized users have access to specific resources or data?
- AConfidentiality ✓ Correct answer
- BIntegrity
- CAvailability
- DAuthentication
✓ Correct answer: Confidentiality
Full explanation
Confidentiality ensures that only authorized users have access to specific resources or data.
Computer ScienceHardware BPSCID: BPP-2718
The CPU is often described as the brain of the computer because it:
- AStores files permanently
- BDisplays images
- CProcesses instructions ✓ Correct answer
- DConnects to the internet
✓ Correct answer: Processes instructions
Full explanation
The CPU is often described as the brain of the computer because it processes instructions. The correct answer is Processes instructions.
Computer ScienceHardware BPSCID: BPP-3913
Which hardware component stores data permanently?
- ARAM
- BHard disk ✓ Correct answer
- CCache
- DRegister
✓ Correct answer: Hard disk
Full explanation
The hard disk stores data permanently, while RAM loses its data when the power is off. The correct answer is Hard disk.
Computer ScienceComputer Memory BPSCID: BPP-3922
Which memory is non-volatile and retains data when the power is switched off?
- ARAM
- BCache memory
- CROM ✓ Correct answer
- DRegister
✓ Correct answer: ROM
Full explanation
ROM is non-volatile memory, so it keeps its data even when the power is switched off. The correct answer is ROM.
Computer ScienceHardware BPSCID: BPP-3961
Which part of the computer stores the operating system?
- ARAM
- BHard disk ✓ Correct answer
- CCPU
- DMonitor
✓ Correct answer: Hard disk
Full explanation
The operating system is stored on the hard disk of a computer. The correct answer is Hard disk.
Computer ScienceHardware BPSCID: BPP-2724
Which of the following is both an input and output device?
- ATouchscreen ✓ Correct answer
- BKeyboard
- CPrinter
- DSpeaker
✓ Correct answer: Touchscreen
Full explanation
A touchscreen is both an input and output device. The correct answer is Touchscreen.
Computer ScienceComputer Memory BPSCID: BPP-2725
1024 bytes make up one:
- ATerabyte
- BKilobyte ✓ Correct answer
- CMegabyte
- DGigabyte
✓ Correct answer: Kilobyte
Full explanation
1024 bytes make up one kilobyte. The correct answer is Kilobyte.
Computer ScienceComputer Memory BPSCID: BPP-2726
1 megabyte is equal to:
- A1000 bytes
- B1024 kilobytes ✓ Correct answer
- C1024 bytes
- D1000 kilobytes
✓ Correct answer: 1024 kilobytes
Full explanation
1 megabyte is equal to 1024 kilobytes.
Computer ScienceNumber Systems BPSCID: BPP-2729
The octal number system uses base:
- A10
- B8 ✓ Correct answer
- C2
- D16
✓ Correct answer: 8
Full explanation
The octal number system uses base 8.
Computer ScienceNumber Systems BPSCID: BPP-2730
The hexadecimal number system uses base:
- A8
- B2
- C10
- D16 ✓ Correct answer
✓ Correct answer: 16
Full explanation
The hexadecimal number system uses base 16.
Computer ScienceNumber Systems BPSCID: BPP-2731
The decimal equivalent of binary 1010 is:
- A12
- B8
- C20
- D10 ✓ Correct answer
✓ Correct answer: 10
Full explanation
The decimal equivalent of binary 1010 is 10.
Computer ScienceNumber Systems BPSCID: BPP-2733
The binary equivalent of decimal 15 is:
- A1111 ✓ Correct answer
- B1110
- C1101
- D1011
✓ Correct answer: 1111
Full explanation
The binary equivalent of decimal 15 is 1111.
Computer ScienceOperating Systems BPSCID: BPP-2735
Linux is an example of which type of software?
- AApplication software
- BFirmware
- CUtility software
- DOperating system ✓ Correct answer
✓ Correct answer: Operating system
Full explanation
Linux is an example of an operating system. The correct answer is Operating system.
Computer ScienceOperating Systems BPSCID: BPP-2736
Which one of the following is NOT an operating system?
- AAndroid
- BmacOS
- CMS Excel ✓ Correct answer
- DWindows
✓ Correct answer: MS Excel
Full explanation
MS Excel is not an operating system; it is application software.
Computer ScienceOperating Systems BPSCID: BPP-2737
The first operating system was developed by:
- AMicrosoft
- BGeneral Motors ✓ Correct answer
- CIBM
- DApple
✓ Correct answer: General Motors
Full explanation
The first operating system, GM-NAA I/O, was developed by General Motors in 1956.
Computer ScienceOperating Systems BPSCID: BPP-2739
Which of the following is a deadlock condition?
- APreemption
- BTime sharing
- CMutual exclusion ✓ Correct answer
- DMultiprogramming
✓ Correct answer: Mutual exclusion
Full explanation
Mutual exclusion is one of the four necessary conditions for deadlock.
Computer ScienceOperating Systems BPSCID: BPP-2740
A process in the ready state is waiting for:
- ACPU ✓ Correct answer
- BDisk
- CPrinter
- DMemory
✓ Correct answer: CPU
Full explanation
A process in the ready state is waiting for the CPU to be assigned to it.
Computer ScienceOperating Systems BPSCID: BPP-2741
Virtual memory is implemented using:
- ACache only
- BRegisters only
- CSecondary storage ✓ Correct answer
- DROM
✓ Correct answer: Secondary storage
Full explanation
Virtual memory is implemented using secondary storage to extend main memory. The correct answer is Secondary storage.
Computer ScienceSQL BPSCID: BPP-2744
The full form of SQL is:
- AStructured Query Language ✓ Correct answer
- BStandard Query Language
- CSimple Query Language
- DSequential Query Language
✓ Correct answer: Structured Query Language
Full explanation
The full form of SQL is Structured Query Language.
Computer ScienceSQL BPSCID: BPP-2745
Which SQL command retrieves data from a database?
- AINSERT
- BSELECT ✓ Correct answer
- CUPDATE
- DDELETE
✓ Correct answer: SELECT
Full explanation
The SELECT command retrieves data from a database.
Computer ScienceSQL BPSCID: BPP-2746
Which SQL command is used to insert data into a table?
- AUPDATE
- BCREATE
- CINSERT ✓ Correct answer
- DSELECT
✓ Correct answer: INSERT
Full explanation
The INSERT command is used to insert data into a table.
Computer ScienceSQL BPSCID: BPP-2747
Which SQL command is used to modify existing data?
- ADROP
- BSELECT
- CUPDATE ✓ Correct answer
- DINSERT
✓ Correct answer: UPDATE
Full explanation
The UPDATE command is used to modify existing data in a table.
Computer ScienceSQL BPSCID: BPP-2748
Which SQL command removes data from a table?
- AREMOVE
- BDELETE ✓ Correct answer
- CTRUNCATE
- DDROP
✓ Correct answer: DELETE
Full explanation
The DELETE command removes data from a table.
Computer ScienceDatabases & DBMS BPSCID: BPP-2750
A primary key in a table:
- ACan be null
- BIs optional in every table
- CMay contain duplicate values
- DUniquely identifies each record ✓ Correct answer
✓ Correct answer: Uniquely identifies each record
Full explanation
A primary key uniquely identifies each record in a table. The correct answer is Uniquely identifies each record.
Computer ScienceDatabases & DBMS BPSCID: BPP-2751
A foreign key is used to:
- ASort records
- BCreate indexes
- CLink two tables ✓ Correct answer
- DEncrypt data
✓ Correct answer: Link two tables
Full explanation
A foreign key is used to link two tables in a relational database. The correct answer is Link two tables.
Computer ScienceDatabases & DBMS BPSCID: BPP-2752
Which normal form removes partial dependencies?
- AThird normal form
- BBCNF
- CFirst normal form
- DSecond normal form ✓ Correct answer
✓ Correct answer: Second normal form
Full explanation
Second normal form (2NF) removes partial dependencies on the primary key.
Computer ScienceDatabases & DBMS BPSCID: BPP-2753
Which normal form removes transitive dependencies?
- AThird normal form ✓ Correct answer
- BFirst normal form
- CSecond normal form
- DFourth normal form
✓ Correct answer: Third normal form
Full explanation
Third normal form (3NF) removes transitive dependencies.
Computer ScienceComputer Networking BPSCID: BPP-3988
Which device is used to connect two or more networks?
- ASwitch
- BHub
- CModem
- DRouter ✓ Correct answer
✓ Correct answer: Router
Full explanation
Router. A router is a networking device that forwards data packets between different computer networks.
Computer ScienceComputer Networking BPSCID: BPP-2755
The TCP/IP model has how many layers?
- A7
- B5
- C3
- D4 ✓ Correct answer
✓ Correct answer: 4
Full explanation
The TCP/IP model has 4 layers: application, transport, internet and network access.
Computer ScienceComputer Networking BPSCID: BPP-2756
A router is used to connect:
- ATwo monitors
- BTwo printers
- CTwo keyboards
- DTwo different networks ✓ Correct answer
✓ Correct answer: Two different networks
Full explanation
A router is used to connect two different networks. The correct answer is Two different networks.
Computer ScienceComputer Networking BPSCID: BPP-2757
Which device connects multiple devices within a single network?
- ARouter
- BSwitch ✓ Correct answer
- CGateway
- DModem
✓ Correct answer: Switch
Full explanation
A switch connects multiple devices within a single network. The correct answer is Switch.
Computer ScienceComputer Networking BPSCID: BPP-3966
Which of the following is the largest type of network?
- AWAN ✓ Correct answer
- BLAN
- CMAN
- DPAN
✓ Correct answer: WAN
Full explanation
A WAN (Wide Area Network) covers the largest area, spanning cities, countries or continents. The correct answer is WAN.
Computer ScienceComputer Networking BPSCID: BPP-2761
An IPv4 address is made up of how many bits?
- A64
- B32 ✓ Correct answer
- C128
- D16
✓ Correct answer: 32
Full explanation
An IPv4 address is made up of 32 bits.
Computer ScienceComputer Networking BPSCID: BPP-2762
An IPv6 address is made up of how many bits?
- A32
- B64
- C256
- D128 ✓ Correct answer
✓ Correct answer: 128
Full explanation
An IPv6 address is made up of 128 bits.
Computer ScienceInternet BPSCID: BPP-2765
Tim Berners-Lee is known as the father of what?
- AComputer
- BEmail
- CWorld Wide Web ✓ Correct answer
- DInternet
✓ Correct answer: World Wide Web
Full explanation
Tim Berners-Lee is known as the father of the World Wide Web.
Computer ScienceComputer History & Generations BPSCID: BPP-2766
Who is known as the father of computers?
- AAlan Turing
- BJohn von Neumann
- CBill Gates
- DCharles Babbage ✓ Correct answer
✓ Correct answer: Charles Babbage
Full explanation
Charles Babbage is known as the father of computers for his Analytical Engine.
Computer ScienceComputer History & Generations BPSCID: BPP-2769
The third generation of computers used:
- AIntegrated circuits ✓ Correct answer
- BMicroprocessors
- CVacuum tubes
- DTransistors
✓ Correct answer: Integrated circuits
Full explanation
The third generation of computers used integrated circuits. The correct answer is Integrated circuits.
Computer ScienceComputer History & Generations BPSCID: BPP-2770
The fourth generation of computers used:
- AVacuum tubes
- BIntegrated circuits
- CMicroprocessors ✓ Correct answer
- DTransistors
✓ Correct answer: Microprocessors
Full explanation
The fourth generation of computers used microprocessors. The correct answer is Microprocessors.
Computer ScienceComputer History & Generations BPSCID: BPP-2771
The ENIAC computer was developed in:
- A1945 ✓ Correct answer
- B1955
- C1965
- D1935
✓ Correct answer: 1945
Full explanation
The ENIAC computer was developed in 1945.
Computer ScienceComputer Security & Viruses BPSCID: BPP-2787
Which of the following is a virus?
- AA system update
- BA hardware fault
- CMalware that replicates by attaching to files ✓ Correct answer
- DA network cable
✓ Correct answer: Malware that replicates by attaching to files
Full explanation
A computer virus is malware that replicates by attaching itself to files. The correct answer is Malware that replicates by attaching to files.
Computer ScienceComputer Security & Viruses BPSCID: BPP-2789
A firewall protects a network by:
- APrinting documents
- BControlling network traffic ✓ Correct answer
- CStoring data
- DCooling the CPU
✓ Correct answer: Controlling network traffic
Full explanation
A firewall protects a network by controlling network traffic. The correct answer is Controlling network traffic.
Computer ScienceComputer Security & Viruses BPSCID: BPP-2790
What type of attack is phishing?
- ANetwork protocol
- BHardware failure
- CCyber attack ✓ Correct answer
- DSoftware bug
✓ Correct answer: Cyber attack
Full explanation
Phishing is a type of cyber attack. The correct answer is Cyber attack.
Computer ScienceComputer Security & Viruses BPSCID: BPP-2791
Which of the following is the strongest password practice?
- AUsing your birth date
- BUsing a long mix of letters, numbers and symbols ✓ Correct answer
- CUsing your name
- DUsing '123456'
✓ Correct answer: Using a long mix of letters, numbers and symbols
Full explanation
Using a long mix of letters, numbers and symbols is the strongest password practice.
Computer ScienceComputer Security & Viruses BPSCID: BPP-2792
The process of converting plain text into coded text is called:
- ACompression
- BEncoding
- CDecryption
- DEncryption ✓ Correct answer
✓ Correct answer: Encryption
Full explanation
Encryption is the process of converting plain text into coded text.
Computer ScienceSoftware BPSCID: BPP-2793
The waterfall model is a model of:
- AHardware design
- BSoftware development ✓ Correct answer
- CNetwork design
- DDatabase design
✓ Correct answer: Software development
Full explanation
The waterfall model is a sequential model of software development. The correct answer is Software development.
Computer ScienceMS Office BPSCID: BPP-2795
Which software is used for spreadsheets?
- AMS PowerPoint
- BMS Access
- CMS Word
- DMS Excel ✓ Correct answer
✓ Correct answer: MS Excel
Full explanation
MS Excel is used for spreadsheets.
Computer ScienceMachine Learning BPSCID: BPP-2797
Machine learning is a subset of:
- AOperating systems
- BDatabase systems
- CArtificial intelligence ✓ Correct answer
- DComputer networks
✓ Correct answer: Artificial intelligence
Full explanation
Machine learning is a subset of artificial intelligence. The correct answer is Artificial intelligence.
Computer ScienceInternet of Things BPSCID: BPP-2798
The full form of IoT is:
- AInternet of Things ✓ Correct answer
- BInternet of Technology
- CInternal of Things
- DInformation of Things
✓ Correct answer: Internet of Things
Full explanation
The full form of IoT is Internet of Things.
Computer ScienceCloud Computing BPSCID: BPP-2799
Cloud computing provides services over the:
- AUSB
- BBluetooth
- CLAN only
- DInternet ✓ Correct answer
✓ Correct answer: Internet
Full explanation
Cloud computing provides services over the internet. The correct answer is Internet.
Computer ScienceDatabases & DBMS BPSCID: BPP-4042
In a database, a table is made up of:
- ARows and columns ✓ Correct answer
- BPages and lines
- CFiles and folders
- DSheets and cells
✓ Correct answer: Rows and columns
Full explanation
In a database, a table is made up of Rows and columns.
ProgrammingC++ Programming BPSCID: BPP-2122
A method can change attributes of an object because objects are passed by
- Acopying objects
- Bcopy constructors
- Creference ✓ Correct answer
- Dvalue
✓ Correct answer: reference
Full explanation
Objects are passed by reference, so a method can change the attributes of the original object.
ProgrammingC++ Programming BPSCID: BPP-2123
If a class contains multiple methods sharing the same name but with different argument lists, it is
- Aover burdened
- Bover loaded ✓ Correct answer
- Cover used
- Dover ridden
✓ Correct answer: over loaded
Full explanation
A class with multiple methods sharing the same name but different argument lists is over loaded.
ProgrammingData Structures & Algorithms BPSCID: BPP-2126
Which data structure is used in function call
- AStack ✓ Correct answer
- BQueue
- CLinked List
- DTree
✓ Correct answer: Stack
Full explanation
Function calls use a Stack to store return addresses and local variables.
ProgrammingData Structures & Algorithms BPSCID: BPP-2127
When analyzing time complexity which of the following provides an upper bound of run time
- ABest case
- BAverage case
- CWorst case ✓ Correct answer
- Dall of them
✓ Correct answer: Worst case
Full explanation
The worst case provides an upper bound of run time in time complexity analysis.
ProgrammingData Structures & Algorithms BPSCID: BPP-2138
Which of the following describes a "brute force" approach to problem-solving?
- AOptimizing each step
- BExploring all possible solutions ✓ Correct answer
- CUsing domain-specific knowledge
- DApplying heuristics
✓ Correct answer: Exploring all possible solutions
Full explanation
A brute force approach works by exploring all possible solutions.
ProgrammingData Structures & Algorithms BPSCID: BPP-2773
Which data structure follows the LIFO principle?
- ALinked list
- BTree
- CQueue
- DStack ✓ Correct answer
✓ Correct answer: Stack
Full explanation
A stack follows the LIFO (Last In, First Out) principle. The correct answer is Stack.
ProgrammingData Structures & Algorithms BPSCID: BPP-3935
What is the time complexity of linear search in the worst case?
- AO(log n)
- BO(n²)
- CO(1)
- DO(n) ✓ Correct answer
✓ Correct answer: O(n)
Full explanation
In the worst case linear search checks every element once, so its time complexity is O(n). The correct answer is O(n).
ProgrammingData Structures & Algorithms BPSCID: BPP-2777
Which sorting algorithm has the worst-case time complexity O(n^2)?
- AQuick sort (best case)
- BMerge sort
- CBubble sort ✓ Correct answer
- DHeap sort
✓ Correct answer: Bubble sort
Full explanation
Bubble sort has a worst-case time complexity of O(n^2).
ProgrammingData Structures & Algorithms BPSCID: BPP-2778
Which sorting algorithm has a worst-case time complexity of O(n log n)?
- ABubble sort
- BInsertion sort
- CSelection sort
- DMerge sort ✓ Correct answer
✓ Correct answer: Merge sort
Full explanation
Merge sort has a worst-case time complexity of O(n log n).
ProgrammingC++ Programming BPSCID: BPP-2779
In object-oriented programming, the bundling of data and methods is called:
- AEncapsulation ✓ Correct answer
- BInheritance
- CPolymorphism
- DAbstraction
✓ Correct answer: Encapsulation
Full explanation
Encapsulation is the bundling of data and methods within a class in object-oriented programming.
ProgrammingC++ Programming BPSCID: BPP-2780
In object-oriented programming, a class acquiring properties of another class is called:
- AInheritance ✓ Correct answer
- BPolymorphism
- CAbstraction
- DEncapsulation
✓ Correct answer: Inheritance
Full explanation
Inheritance is the mechanism by which a class acquires the properties of another class.
ProgrammingC++ Programming BPSCID: BPP-2781
In object-oriented programming, the same function behaving differently is called:
- AEncapsulation
- BAbstraction
- CPolymorphism ✓ Correct answer
- DInheritance
✓ Correct answer: Polymorphism
Full explanation
Polymorphism is the ability of the same function or operator to behave differently in different contexts.
ProgrammingC++ Programming BPSCID: BPP-2783
In C++, the operator used to insert output is:
- A->
- B>>
- C==
- D<< ✓ Correct answer
✓ Correct answer: <<
Full explanation
In C++, the << operator is used to insert output into a stream.
ProgrammingPython Programming BPSCID: BPP-2785
In Python, a comment begins with the symbol:
- A/*
- B//
- C# ✓ Correct answer
- D--
✓ Correct answer: #
Full explanation
In Python, a comment begins with the # symbol.
ProgrammingJava Programming BPSCID: BPP-2786
In Java, the entry point of a program is the method:
- Amain ✓ Correct answer
- Brun
- Cstart
- Dinit
✓ Correct answer: main
Full explanation
In Java, the entry point of a program is the main method.
ProgrammingPython Programming BPSCID: BPP-4043
In Python, which keyword is used to repeat a block of code while a condition is true?
- Awhile ✓ Correct answer
- Bfor
- Cif
- Ddef
✓ Correct answer: while
Full explanation
The while keyword repeats a block of code as long as its condition is true.
MathematicsPermutation and Combination BPSCID: BPP-2124
The power set of 8 positive integers will have how many elements
- A8²
- B2⁸ ✓ Correct answer
- C8!
- Dnone of them
✓ Correct answer: 2⁸
Full explanation
A set of 8 elements has 2⁸ = 256 subsets, so its power set has 2⁸ elements.
MathematicsProgressions BPSCID: BPP-2125
The summation of 4, 5, 6, 7, ... n will be
- An(n+1) / 2
- Bn(n-3) / 2
- Cn(n+1) / 2 - 3
- Dn(n + 1) / 2 - 6 ✓ Correct answer
✓ Correct answer: n(n + 1) / 2 - 6
Full explanation
The sum 1 + 2 + ... + n is n(n+1) / 2, and removing 1 + 2 + 3 = 6 leaves n(n + 1) / 2 - 6.