Engineering :: All Aptitude Test ::

Hassan
1.What will be the output of the following PHP code ?
A. get
B. true
C. false
D. get

2.What will be the output of the following PHP code ?
A. 5 === 5
B. Error
C. 1
D. 5 === 5

3.Which of the below symbols is a newline character ?
A. \r
B. \n
C. /n
D. \r

4. Who is the father of PHP ?
A. Rasmus Lerdorf
B. Willam Makepiece
C. Drek Kolkevi
D. Rasmus Lerdorf

5.What is the Size of ‘Char’ datatype ?
A. 8 bit
B. 12 bit
C. 16 bit
D. 8 bit

6.What will be the output of the following C# code ?
A. I am a human bein c
B. I am a human being
C. I am a human being c
D. I am a human bein c

7.Which is the String method used to compare two strings with each other ?
A. Compare To()
B. Compare()
C. Copy()
D. Compare To()

8.What will be the output of the following C# code ?
A. PakisPunjab
B. PakistanPunjab
C. Pakistan
D. PakisPunjab

9.What will be the output of the following C# string? (Enter a String : PAKISTAN).
A. PAK-IS-TAN
B. PAKISTAN
C. NATSIKAP
D. PAK-IS-TAN

10.Correct statement about strings are ?
A. A string is created on the stack
B. A string is primitive in nature
C. A string created on heap
D. A string is created on the stack

11.Why strings are of reference type in C#.NET ?
A. To create string on stack
B. To reduce the size of string
C. To overcome problem of stackoverflow
D. To create string on stack

12.The most commonly used input device is ?
A. Mouse
B. Keyboard
C. Scanner
D. Mouse

13.Which keys allows user to enter frequently used operations in a single key stroke ?
A. Function keys
B. Cursor control keys
C. Trackball
D. Function keys

14.Which are used to measure dial rotations ?
A. Potentiometers
B. Volta meter
C. Parameter
D. Potentiometers

15.The device which is used to position the screen cursor is ?
A. Mouse
B. Joystick
C. Data glove
D. Mouse

16.Which is used for detecting mouse motion.
A. Optical sensor
B. Rollers on the bottom of mouse
C. Both A & B
D. Optical sensor

17.Trackball is ?
A. Two-dimensional positioning device
B. Three- dimensional positioning device
C. Pointing device
D. Two-dimensional positioning device

18.Space ball provide degree of freedom ?
A. 10 degree
B. 6 degree
C. 8 degree
D. 10 degree

19.Which is the ball that can be rotated with the fingers or palm of the hand ?
A. Space ball
B. Trackball
C. Both A & B
D. Space ball

20.Which is used for 3D positioning and modeling, animation and other application ?
A. Space ball
B. Trackball
C. Spac ball
D. Space ball

21.Potentiometers mounted at the base of the joystick measures ?
A. The amount of movement
B. The direction
C. Position
D. The amount of movement

22.Pressure-sensitive joysticks are also called ?
A. Non movable stick
B. Joystick
C. Isometric joystick
D. Non movable stick

23.Which is the device that is constructed with the series of sensors that detects hand and finger motion ?
A. Digitizers
B. Data glove
C. Joystick
D. Digitizers

24.A common device for drawing, painting, or interactively selecting coordinate positions on an object is a ?
A. Image scanner
B. Digitizers
C. Data glove
D. Image scanner

25.Which device is used to input two-dimensional coordinates by activating a hand cursor on a flat surface ?
A. Graphic tablet
B. Data tablet
C. Both A & B
D. Graphic tablet

26.Which can be used to determine the position on the data tablet ?
A. Strip microphones
B. Signal strength
C. Coded pulse
D. Strip microphones

27.Which allows screen positions to be selected with the touch of a finger ?
A. Touch panels
B. Image scanner
C. Light pen
D. Touch panels

28.What is the disadvantage of the light pen ?
A. It’s shape
B. They cannot detect positions
C. Accurate reading
D. It’s shape

29.Which is used in graphics workstation as input devices to accept voice commands ?
A. Touch panels
B. Speech recognizer
C. Both A & B
D. Touch panels

30.What voice the use of voice system?
A. To initiate graphics operation
B. To enter data
C. Both A & B
D. To initiate graphics operation


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