GAT Subject :: All Aptitude Test ::

Hassan
1.How do you initialize an array in C?
A. int arr[3] = (1,2,3);
B. int arr(3) = {1,2,3};
C. int arr[3] = {1,2,3};
D. int arr[3] = (1,2,3);

2.Process of inserting an element in stack is called ?
A. Create
B. Push
C. Evaluation
D. Create

3.Process of removing an element from stack is called ?
A. Create
B. Push
C. Evaluation
D. Create

4.The postfix form of the expression (A+ B)*(C*D- E)*F / G is?
A. AB+ CD*E – FG /**
B. AB + CD* E – F **G /
C. AB + CD* E – *F *G /
D. AB+ CD*E – FG /**

5.The data structure required to check whether an expression contains balanced parenthesis is?
A. Stack
B. Queue
C. Array
D. Stack

6.Any signed negative binary number is recognized by its ?
A. MSB
B. LSB
C. Byte
D. MSB

7.The parameter through which 16 distinct values can be represented is known as ?
A. Bit
B. Byte
C. Word
D. Bit

8.If the decimal number is a fraction then its binary equivalent is obtained by the number continuously by 2?
A. Dividing
B. Multiplying
C. Adding
D. Dividing

9.The given hexadecimal number (1E.53)16 is equivalent to
A. (35.684)8
B. (36.246)8
C. (34.340)8
D. (35.684)8

10.The octal number (651.124)8 is equivalent to
A. (1A9.2A)16
B. (1B0.10)16
C. (1A8.A3)16
D. (1A9.2A)16

11.The octal equivalent of the decimal number (417)10 is
A. (641)8
B. (619)8
C. (640)8
D. (641)8

12.What is operating system?
A. collection of programs that manages hardware resources
B. system service provider to the application programs
C. link to interface the hardware and application programs
D. collection of programs that manages hardware resources

13.To access the services of operating system, the interface is provided by the ?
A. System calls
B. API
C. Library
D. System calls

14.Which one of the following is not true?
A. kernel is the program that constitutes the central core of the operating system
B. kernel is the first part of operating system to load into memory during booting
C. kernel is made of various modules which can not be loaded in running operating system
D. kernel is the program that constitutes the central core of the operating system

15.Which one of the following error will be handle by the operating system?
A. power failure
B. lack of paper in printerlack of paper in printer
C. connection failure in the network
D. power failure

16.What is the main function of the command interpreter?
A. to get and execute the next user-specified command
B. to provide the interface between the API and application program
C. to handle the files in operating system
D. to get and execute the next user-specified command

17.By operating system, the resource management can be done via ?
A. time division multiplexing
B. space division multiplexing
C. time and space division multiplexing
D. time division multiplexing

18. If a process fails, most operating system write the error information to a
A. log file
B. another running process
C. new file
D. log file

19.A relational database consists of a collection of ?
A. Tables
B. Fields
C. Records
D. Tables

20.A in a table represents a relationship among a set of values?
A. Column
B. Key
C. Row
D. Column

21.The term is used to refer to a row?
A. Attribute
B. Tuple
C. Field
D. Attribute

22.The term attribute refers to a of a table?
A. Record
B. Column
C. Tuple
D. Record

23.For each attribute of a relation, there is a set of permitted values, called the of that attribute?
A. Domain
B. Relation
C. Set
D. Domain

24.Database which is the logical design of the database, and the database which is a snapshot of the data in the database at a given instant in time?
A. Instance, Schema
B. Relation, Schema
C. Relation, Domain
D. Instance, Schema

25.Which poem ends 'I shall but love thee better after death'?
A. How do I love thee
B. Ode to a Grecian urn
C. In faith I do not love thee with mine eyes
D. How do I love thee

26.Which poet is considered a national hero in Greece?
A. John keats
B. Lord Byron
C. Solan
D. John keats

27.Which kind of poem is Edward Lear associated with?
A. Nature
B. Epics
C. Sonnets
D. Nature

28.In coleridge's poem 'The rime of the Ancient Mariner'where were the three gallants going?
A. A funeral
B. A wedding
C. Market
D. A funeral

29.Harold Nicholson described which poet as 'Very yellow and glum. Perfect manners'?
A. e. e. Cummings
B. T. S. Elliot
C. John Greenleaf Whittier
D. e. e. Cummings

30.What was strange about Emily Dickinson?
A. She rarely left home
B. She wrote in code
C. She never attempted to publish her poetry
D. She rarely left home


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