Trickipoint Exam Library

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

Review solved questions and correct answers for Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS. Exam body: AJKPSC.

Paper 2019 Answers Included
32 Total Questions
1 Subject Sections
2019 Paper Year
Computer Instructor Target Post

Solved MCQ Questions

Questions, answer options and correct answers
32 MCQs

COMPUTER SCIENCE

Solved examination questions
32 Questions

Programming

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

Computer Network

6 MCQS
18
Question
What is the minimum number of wires needed to send data over a serial communication link?
Answer options
A 1
B 2
C 3
D 4
19
Question
Which of the following is an example of a bounded transmission medium?
Answer options
A Coaxial cable
B Waveguide
C Fiber-optic cable
D All of the above
20
Question
A coaxial cable consists of conductors that have:
Answer options
A A common axis
B Equal resistance
C The same diameter
D None of the above
21
Question
The area covered by a satellite radio beam is called its:
Answer options
A Beam width
B Circular polarization
C Footprint
D Identity
22
Question
The amount of uncertainty associated with a system or symbol is called:
Answer options
A Bandwidth
B Entropy
C Loss
D Quantum
23
Question
Buffering is the process of:
Answer options
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

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