Solved Past Paper 2019

Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS Paper MCQs

Solved past paper questions and answers for Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS. Structured study sheet for AJKPSC test preparation.

32 Total Questions
1 Sections / Subjects
2019 Paper Session
Computer Instructor Designation

COMPUTER SCIENCE

Examination Subject Section
32 Questions

Programming MCQs

17 MCQS
1
In C/C++ Programming, the strcmp() function is used to:
A Convert String to Char
B Copy two Strings
C Compare two Strings
D None of these
2
In C/C++ Programming, "a" is used for:
A Form feed
B Line Break
C Select All
D Alarm
3
Which of the following is the correct statement?
A Variable name must start with an underscore or letter
B Variable name must have a digit
C Variable name must have a whitespace character
D Keyword cannot be a variable name
4
While coding in C/C++, for "Call by Reference" we pass:
A Address of variable
B Value of the variable
C Either value or address
D Both value and address
5
Which of the following is the symbol for the AND operator?
A &
B &&
C ||
D $$
6
Which of the following is not a type of variable?
A Extern
B Register
C Global
D None of the above
7
Which of the following is the incorrect statement?
A All array variables have the same type
B An array is a collection of variables
C Array variables can be used individually
D None of these
8
To initialize an array of objects, only ______ will be called.
A Default Constructor
B Overloaded Constructor
C Default Object
D None of the above
9
What type of relationship exists between the Account class and the SavingAccount class?
A Inheritance
B Composition
C Aggregation
D Association
10
A copy constructor is called when:
A An object is created in terms of a pre-existing object
B An object is created
C An object is initialized
D None of the above
11
In ______, a pointer or reference to an object is created inside a class.
A Aggregation
B Composition
C Separation
D None of the given
12
Select the correct line of code for the inheritance relationship between the Person class and the Supervisor class.
A class Supervisor public Person
B class Person : public Supervisor
C class Supervisor : public Person
D class Person:: public Supervisor
13
In ______, a pointer or reference to an object is created inside a class.
A Aggregation
B Composition
C Inheritance
D Association
14
Select the correct line of code for the inheritance relationship between the Gender class and the Male class.
A class Male; public Gender
B class Gender : public Male
C class Male : public Gender
D class Gender:: public Male
15
For the statement std3 = std1 - std2 to work correctly, the overloaded - operator must:
A Take two arguments
B Take a single argument
C Take three arguments
D None of the given choices
16
Select the correct line of code for the inheritance relationship between the Keys class and the SpecialKeys class.
A class SpecialKeys public Keys
B class Keys : public SpecialKeys
C class SpecialKeys : public Keys
D class Keys public SpecialKeys
17
______ is concerned with realizing a software design using an object-oriented programming language.
A Object-Oriented Methods
B Object-Oriented Methods
C Object-Oriented Design
D Object-Oriented Programming

Computer Network MCQS

6 MCQS
18
What is the minimum number of wires needed to send data over a serial communication link?
A 1
B 2
C 3
D 4
19
Which of the following is an example of a bounded transmission medium?
A Coaxial cable
B Waveguide
C Fiber-optic cable
D All of the above
20
A coaxial cable consists of conductors that have:
A A common axis
B Equal resistance
C The same diameter
D None of the above
21
The area covered by a satellite radio beam is called its:
A Beam width
B Circular polarization
C Footprint
D Identity
22
The amount of uncertainty associated with a system or symbol is called:
A Bandwidth
B Entropy
C Loss
D Quantum
23
Buffering is the process of:
A Temporarily storing data to accommodate variations in device speeds
B Reducing cross-talk
C Storing data within the transmission medium until the receiver is ready
D Reducing routing overhead

Operating System MCQS

9 MCQS
24
Which of the following is NOT an approach to handling deadlocks?
A Deadlock Prevention
B Deadlock Avoidance
C Deadlock Detection & Recovery
D Virtual Memory
25
Which scheduler selects which processes should be brought into the ready queue?
A Real-Time
B Long-Term
C Mid-Term
D Short-Term
26
Paging is implemented in:
A Operating System
B Hardware
C Software
D None of these
27
Page-Table Length Register (PTLR) indicates the size of:
A Page Table
B Paging File
C Main Memory
D Virtual Memory
28
Bringing a page into memory only when it is needed is called:
A Demand Paging
B Page Replacement
C Page Fault
D Page Segmentation
29
Divided logical memory into blocks with the same size as frames are called:
A Pages
B Frames
C Page Table
D Segmentation
30
Which memory allocation policy allocates the largest hole to the process?
A Best-Fit
B Worst-Fit
C First-Fit
D None of them
31
When there is enough memory to fit a process in memory, but the space is not contiguous, we need:
A Internal Fragmentation
B Virtual Fragmentation
C External Fragmentation
D None of them
32
A time-sharing system implies:
A More than one processor in the system
B More than one memory in the system
C More than one program in memory
D None of above