Engineering :: All Aptitude Test ::

Hassan
1.Which one of the following is the right way to invoke a method?
A. $object::methodName();
B. object::methodName();
C. object->methodName();
D. $object::methodName();

2.The basic parameter to curved attributes are?
A. Width
B. Color
C. Type
D. Width

3.Raster curves of various widths can be displayed using?
A. Horizontal and vertical spans
B. Vertical spans
C. Horizontal spans
D. Horizontal and vertical spans

4.If the magnitude of the curve slope is lesser than 1, then?
A. We can plot horizontal spans
B. We can plot vertical spans
C. Both A & B
D. We can plot horizontal spans

5.If the slope magnitude is 1, then circles, ellipse and other curves will appear?
A. Rough
B. Big
C. Thinnest
D. Rough

6.One of the method for displaying thick curves is?
A. Curve cap
B. Curve slope
C. Curve width
D. Curve cap

7.The pixel masks for implementing line-type options are also used in the following algorithm to generate dashed and dotted patterns?
A. Random curve algorithm
B. Raster curve algorithm
C. Raster scan algorithm
D. Random curve algorithm

8.We can generate the dashes in the various octants and the circle path with vertical path using?
A. Curve slope
B. Circle simmetry
C. Circle symmetry
D. Curve slope

9.The function of the pixel mask is?
A. To display dashes and inter dash spaces according to the slope
B. To display curved attributes
C. To display the thick curves
D. To display dashes and inter dash spaces according to the slope

10. If we want to display constant-length dashes, then we need to do the following?
A. We need to adjust the number of pixels plotted in each dash
B. We must use line-type functions
C. We need to adjust the number of dots
D. We need to adjust the number of pixels plotted in each dash

11.The curves displayed with a rectangular pen will be?
A. Thicker and magnitude slope is 1
B. Thicker and magnitude slope >1
C. Thinner
D. Thicker and magnitude slope is 1

12.Physical or logical arrangement of network is?
A. Control
B. Networking
C. Routing
D. Control

13.Which is the multiplexing technique that shifts each signal to a different carrier frequency?
A. FDM
B. TDM
C. Both A & B
D. FDM

14.In TDM, slots are further divided into?
A. Seconds
B. Frames
C. Packets
D. Seconds

15.WAN stands for?
A. Web access network
B. Web area network
C. Wide area network
D. Web access network

16.Data communication system within a building or campus is?
A. PAN
B. MAN
C. WAN
D. PAN

17.Data communication system spanning states, countries, or the whole world is?
A. PAN
B. MAN
C. WAN
D. PAN

18.Which topology requires a multi-point connection?
A. Bus
B. Ring
C. Mesh
D. Bus

19.Which network topology requires a central controller or hub?
A. Bus
B. Ring
C. Mesh
D. Bus

20.A Process Control Block(PCB) does not contain which of the following?
A. Data
B. Bootstrap program
C. Stack
D. Data

21.The number of processes completed per unit time is known as?
A. Capacity
B. Efficiency
C. Throughput
D. Capacity

22.The state of a process is defined by?
A. The current activity of the process
B. The activity to next be executed by the process
C. The activity just executed by the process
D. The current activity of the process

23.Which of the following is not the state of a process?
A. Running
B. Waiting
C. Old
D. Running

24.What is a Process Control Block?
A. A Block in memory
B. A secondary storage section
C. Data Structure
D. A Block in memory

25.The entry of all the PCBs of the current processes is in?
A. Process Unit
B. Process Table
C. Program Counter
D. Process Unit

26.What is the degree of multi-programming?
A. The number of processes in memory
B. The number of processes in the I/O queue
C. The number of processes in the ready queue
D. The number of processes in memory

27.A single thread of control allows the process to perform?
A. Multiple tasks at a time
B. Only two tasks at a time
C. Only one task at a time
D. Multiple tasks at a time

28.What is the objective of multi-programming?
A. To minimize CPU utilization
B. Have some process running at all times
C. Have multiple programs waiting in a queue ready to run
D. To minimize CPU utilization

29.Which process can be affected by other processes executing in the system?
A. Init process
B. Parent process
C. Child process
D. Init process

30.When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called?
A. Critical condition
B. Essential condition
C. Race condition
D. Critical condition


Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers