Home
Mcqs
Quizes
Q&A
Past Paper
blog
Spaces
Join Now
Sign in
GAT Subject Test (Computer Science)
National Testing Service Pakistan
8 contributor - 0 Folowers
Updates
Post
Question
Mcqs
Past Paper
Anna
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Many find it strange that her writing is thought to be tortuous; her recent essays, although longer than most of her earlier essays, are extremely_______.
A. Insightful.
B. Tedious.
C. Painstacking.
D. Sophisticated.
Anna
IQ APTITUDE & ABILITY
-
Verbal Reasoning
The author presents the life of Zane Grey with _____ unusual in a biographer: he is not even convinced that Grey was a good writer.
A. Deftness.
B. A Zeal.
C. A Detachment.
D. An eloquence.
Bashir Farooqi
IQ APTITUDE & ABILITY
-
Verbal Reasoning
During their operational lifetimes, the majority of spacecraft currently face minimal risk of collision with space junk, but given the number of new satellites launched each year, the orbital environment is likely to be less ________ in the future.
A. Defective.
B. Invoked.
C. Protected.
D. None of these.
Bashir Farooqi
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Florence Nightingale was ___ in the development of modern medicine, ___ such practices as sanitization of hospital wards and isolation of actively infected patients.
A. an innovator…initiating.
B. rejecting…a collaborator.
C. a maverick…protesting.
D. An individualist…standardizing .
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Linda Greenhouse's articles for the New York Times are an outstanding example of ___, capsulizing prose into a necessarily limited space.
A. Callousness.
B. Brevity.
C. Intuition.
D. None of these.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Roberto Clement was seen as ___ during his life because of both his selflessness on the baseball field and his humanitarian work in his native Nicaragua
A. a grandstander.
B. An individualist.
C. . a sybarite .
D. an opportunist.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
His habit of spending more than he earned left him in a state of perpetual------ but he------------hoping to see a more affluent day
A. motion: responded.
B. enervation: retaliated by.
C. confusion: compromised by.
D. indigence: persevered in.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Known for his commitment to numerous worthy causes, the philanthropist deserved------ for his-----------
A. Credit: altruism.
B. Reward: modesty .
C. blame: hypocrisy.
D. recognition: folly.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
You should --------this paragraph in order to make your essay more-----
A. Remove, discursive.
B. Enlarge, redundant .
C. Delete, succinct.
D. Revise, abstruse.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
A------glance pays-----attention to details
A. Furtive: meticulous.
B. Cursory: little.
C. Cryptic: close.
D. Keen: scanty.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Surprisingly enough, it is more difficult to write about the--------than about the---and strange.
A. simple, routine.
B. commonplace, exotic.
C. abstract, prosaic.
D. specific, foreign.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
A-----response is one that is made with----------.
A. harmful, grimaces.
B. sure, slowness.
C. speedy, alacrity.
D. stupid, fear.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
3. A----is a-------.
A. doctrine, follower.
B. discipline, school.
C. criterion, mistake.
D. norm, standard.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
It is widely believed that a nuclear war could ____ enough smoke and dust to block out the sun and freeze the earth.
A. Generate.
B. Extinguish.
C. Billow.
D. None of these.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Consumption of red meat has ____ because its fat content has become a worrisome and ____ matter.
A. Skyrocketed ... stressful.
B. Abated ... dubious .
C. Declined ... controversial.
D. None these.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
It takes ____ character to ____ the extremities of the arctic region.
A. A nomadic ... espouse.
B. An unflappable ... sustain.
C. An inimitable ... resist.
D. None of these.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Consumers refused to buy meat products from the company because of rumors that the water supply at the meat processing plant was ______; the rumors, however, were quite ______, with no hard evidence to back them up.
A. Contaminated .. unsubstantiated.
B. Impure .. damaging.
C. Misdirected .. scandalous.
D. Unscrupulous .. vicious.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Many kinds of harmful viruses are unhindered when passing through different parts of the host organism; indeed, there are few organic substances which such viruses’ cannot______.
A. exterminate.
B. perforate.
C. aerate.
D. None of these.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Their conversation was unsettling, for the gravity of their topic contrasted so oddly with the ______ of their tone
A. rapidity.
B. lightness.
C. precision.
D. None of these.
Muhammad Tayyab Ikhlas
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Throughout the animal kingdom, ____ bigger than the elephant.
A. only the whale is.
B. is the whale only.
C. whale is only the.
D. whale is only.
Fani Warraich
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Although its publicity has been ___, the film itself is intelligent, well-acted, handsomely produced and altogether ___
A. perfect … spectacular.
B. sophisticated … moderate.
C. extensive … moderate.
D. tasteless … respectable.
Fani Warraich
IQ APTITUDE & ABILITY
-
Verbal Reasoning
The Inuit natives of Alaska's North Slope worry that ___ oil exploration might ___their sensitive natural environment.
A. unregulated…damage.
B. curtailed…shatter.
C. current…bolster.
D. additional…assist.
Fani Warraich
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Ants live in colonies based on ___; each member contributes to the good of all by actively working with others in performing necessary tasks.
A. Heredity.
B. Cooperation.
C. Reasoning.
D. Instinct.
Sidis
IQ APTITUDE & ABILITY
-
Verbal Reasoning
In the given sentence, identify the gerund phrase: "Running marathons in extreme weather conditions requires immense determination and endurance."
A. Running marathons.
B. Marathons in extreme weather conditions.
C. Requires immense determination.
D. And endurance.
Sidis
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Identify the logical fallacy in the following argument: "I've never seen a black swan; therefore, black swans do not exist."
A. Circular Reasoning.
B. Hasty Generalization.
C. False Cause.
D. Appeal to Ignorance.
Sidis
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Choose the word that best completes the analogy: Adorn: Decorate :: _______ : Amass
A. Squander.
B. Preserve.
C. Hoard.
D. None of the above.
Sidis
IQ APTITUDE & ABILITY
-
Verbal Reasoning
Identify the figure of speech used in the following sentence :"The stars danced playfully in the sky."
A. Simile.
B. Hyperbole.
C. Personification.
D. Metaphor.
Sidis
IQ APTITUDE & ABILITY
-
Analytical Reasoning
An office building has five floors, numbered one through five. Each floor has a different color carpet: red, blue, green, yellow, and white. The following conditions must be met: i. The red carpet cannot be on the top floor. ii. The blue carpet must be above the green carpet but below the yellow carpet. iii. The white carpet must be on a higher floor than the green carpet but cannot be on the top floor. In which of the following arrangements is the sequence of floors correctly matched with the colors of their respective carpets?
A. Floor 1: Red, Floor 2: Blue, Floor 3: Green, Floor 4: Yellow, Floor 5: White.
B. Floor 1: Green, Floor 2: Blue, Floor 3: Red, Floor 4: White, Floor 5: Yellow.
C. Floor 1: Yellow, Floor 2: Blue, Floor 3: Green, Floor 4: White, Floor 5: Red.
D. Floor 1: Blue, Floor 2: Green, Floor 3: Red, Floor 4: Yellow, Floor 5: White.
Sidis
IQ APTITUDE & ABILITY
-
Analytical Reasoning
In a certain company, there are seven executives: Adam, Ben, Chris, David, Emily, Fiona, and Grace. They are seated in a row of chairs. The following conditions must be met: i. Adam cannot sit next to Chris or Emily. ii. Ben must sit next to David. iii. Fiona cannot sit at either end of the row. Which of the following is a valid arrangement of the executives?
A. Adam, Ben, Chris, David, Emily, Fiona, Grace.
B. Fiona, Emily, Ben, David, Adam, Chris, Grace.
C. Grace, Fiona, Emily, Ben, David, Adam, Chris.
D. Chris, David, Ben, Emily, Adam, Grace, Fiona.
Sidis
IQ APTITUDE & ABILITY
-
Analytical Reasoning
Five friends – Alex, Brian, Chris, David, and Eric – are participating in a singing competition. They will perform one after the other. The following conditions must be met: i. Alex cannot perform before David or Eric. ii. Brian must perform before Chris. iii. David cannot be the first or last to perform. In which of the following sequences can the friends perform according to the given conditions?
A. Eric, Alex, David, Brian, Chris.
B. Chris, David, Brian, Alex, Eric.
C. Brian, Eric, Chris, David, Alex.
D. David, Eric, Alex, Chris, Brian.
Sidis
IQ APTITUDE & ABILITY
-
Analytical Reasoning
In a chess tournament, there are six players: Alice, Bob, Carol, David, Emily, and Frank. Each player plays exactly once against each of the other players. The following conditions must be met: i. Alice must play against Bob and Emily. ii. Carol cannot play against David or Frank. iii. Emily must play against Alice and David. How many different matches can be played in total?
A. 15.
B. 18.
C. 12.
D. 21.
Sidis
IQ APTITUDE & ABILITY
-
Analytical Reasoning
Five books – A, B, C, D, and E – are placed on a shelf. The following conditions must be met: i. Book A cannot be placed next to book B. ii. Book C must be placed between books B and D. iii. Book E must be placed somewhere to the right of book A. Which of the following represents a valid arrangement of the books on the shelf, from left to right?
A. B, A, E, C, D.
B. B, C, D, E, A.
C. D, C, B, E, A.
D. A, B, D, E, C.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Web Design & Development
What is the primary purpose of using media queries in responsive web design?
A. To apply CSS rules based on the user's internet speed.
B. To optimize the website for search engines.
C. To apply CSS rules based on the device's screen size.
D. To increase the website's loading speed.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Web Design & Development
When should you use the 'defer' attribute in a script tag in HTML?
A. When you want the script to load before the HTML content.
B. When you want the script to execute after the HTML content has been parsed.
C. When you want the script to block the HTML parsing until it loads.
D. When you want the script to load asynchronously.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Web Design & Development
Where is the correct location to place the meta charset="UTF-8" tag in an HTML document?
A. Inside the body tag.
B. Within the head tag.
C. Before the DOCTYPE declaration.
D. After the closing html tag.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Web Design & Development
How to prevent a form from submitting when a required field is empty using HTML5?
A. Use JavaScript to check for empty fields.
B. Set the 'required' attribute on the input fields.
C. Set the 'novalidate' attribute on the form tag.
D. Use CSS to highlight empty fields.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Web Design & Development
Can you explain which HTTP method is idempotent and should be used for updating a resource in RESTful web services?
A. GET.
B. POST.
C. PUT.
D. DELETE.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Database Management Systems
What is the primary purpose of normalization in database design?
A. To improve query performance.
B. To reduce data redundancy.
C. To increase data integrity.
D. To simplify database schemas.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Database Management Systems
When is a database said to be in the Third Normal Form (3NF)?
A. When it is free of multivalued dependencies.
B. When it has no partial dependency.
C. When it has no transitive dependency.
D. When it has a single candidate key.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Database Management Systems
Where would you typically find the definition of a database schema?
A. In the application code.
B. In the database management system metadata.
C. In the user interface.
D. In the transaction logs.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Database Management Systems
How to ensure ACID properties are maintained in a transaction?
A. By using appropriate indexing.
B. By defining primary keys and foreign keys.
C. By using database transaction management features.
D. By normalizing the database.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Database Management Systems
Which type of database index is typically used to improve the speed of queries that involve range searches?
A. Hash index.
B. B-tree index.
C. Bitmap index.
D. Full-text index.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Computer Networks & Security
What is the purpose of a subnet mask in IP networking?
A. To identify the network portion of an IP address.
B. To prevent IP spoofing attacks.
C. To encrypt data packets for secure transmission.
D. To assign unique IP addresses to devices on a network.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Computer Networks & Security
When should an organization implement two-factor authentication (2FA) for remote access to its network resources?
A. During regular business hours.
B. After a security breach has occurred.
C. Whenever employees work remotely or access sensitive data.
D. Only for executive-level employees.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Computer Networks & Security
Where is the most secure location to place a firewall within a network architecture?
A. Between the router and the internal network.
B. Outside the demilitarized zone (DMZ).
C. Inside the DMZ, but before the web server.
D. After the switch, but before the router.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Computer Networks & Security
Who is responsible for managing digital certificates in a Public Key Infrastructure (PKI) system?
A. Certificate Authority (CA).
B. Network Administrator.
C. End-users.
D. Internet Service Provider (ISP).
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Computer Networks & Security
Why is it important to regularly update software and firmware in network devices?
A. To increase network bandwidth.
B. To improve network performance.
C. To fix security vulnerabilities and bugs.
D. To enhance network reliability.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Operating Systems
What is the main purpose of a context switch in an operating system?
A. To increase the clock speed of the CPU.
B. To switch the CPU from executing one process to another.
C. To allocate more memory to running processes.
D. To shutdown non-responsive processes.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Operating Systems
When does a deadlock occur in a system?
A. When there is a lack of memory resources.
B. When multiple processes are blocked, each waiting for a resource held by another process.
C. When the CPU usage reaches 100%.
D. When a process is terminated abnormally.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Operating Systems
Where is the Page Table typically stored in a computer system?
A. In the CPU registers.
B. In the main memory (RAM).
C. On the hard disk.
D. In the cache memory.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Operating Systems
What mechanism does an operating system use to handle the execution of multiple processes that require frequent access to the CPU?
A. Multithreading.
B. Swapping.
C. Round-robin scheduling.
D. Memory segmentation.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Operating Systems
How to resolve the critical section problem in concurrent programming?
A. Using virtual memory.
B. Implementing a semaphore.
C. Applying context switching.
D. Utilizing file permissions.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Operating Systems
Which memory management scheme allows the physical address space of a process to be non-contiguous?
A. Paging.
B. Segmentation.
C. Contiguous allocation.
D. Swapping.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Operating Systems
Why do modern operating systems use preemptive multitasking?
A. To simplify process management.
B. To enhance user interactivity and system responsiveness.
C. To minimize the number of processes.
D. To increase the size of the swap space.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Operating Systems
When is the "thrashing" condition likely to occur in a system using virtual memory?
A. When the CPU is idle.
B. When the system has insufficient physical memory and excessive paging occurs.
C. When there are too many open files.
D. When the disk space is full.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
What is the time complexity of inserting an element into a Binary Search Tree (BST) in the worst case?
A. O(log n).
B. O(n).
C. O(n log n).
D. O(1).
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
When does the Dijkstra's algorithm fail to find the shortest path in a graph?
A. When the graph is disconnected.
B. When the graph contains negative weight edges.
C. When the graph contains cycles.
D. When the graph is undirected.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
Where is a heap data structure typically used?
A. To implement a priority queue.
B. To perform depth-first search (DFS).
C. To store adjacency lists.
D. To implement hash tables.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
Why is the space complexity of a recursive algorithm often higher than its iterative counterpart?
A. Due to the creation of additional variables.
B. Because recursion requires additional stack space for each function call.
C. Because recursive algorithms are slower.
D. Due to the use of dynamic memory allocation.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
Which data structure is most suitable for implementing an LRU (Least Recently Used) cache?
A. Stack.
B. Queue.
C. HashMap and Doubly Linked List.
D. Binary Search Tree.
testdeveloper
COMPUTER SCIENCE & IT
-
Web Design & Development
What is HTTP Request ?
A. Protocol.
B. Network .
C. Design .
D. Nan .
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
The time complexity of finding a shortest path in a network is:
A. Fairly low with Dijkstra?s algorithm.
B. Very efficient with A* search given spatial heuristics.
C. Better than the above two using some randomization mechanism in large networks.
D. None of these.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
Which type of algorithms are applicable to scheduling resources in operating systems?
A. State space search.
B. Machine learning.
C. Bayesian learning.
D. None of these.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
When we attempt to add the eleventh element to a stack with a size of 10, we encounter a circumstance known as:
A. Garbage collection.
B. Underflow.
C. Overflow.
D. None of these.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
Regarding Binary Trees, which of the following is true?
A. Every binary tree has two states: full and complete..
B. Every binary tree that is full is also a complete binary tree..
C. All complete binary trees are likewise full binary trees..
D. None of these.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
What is the name of a linear collection of data components where the linear node is provided by a pointer?
A. Linked list.
B. Primitive List.
C. Node list.
D. None of these.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
How much time would it take to add an element to the linked list asymptotically?
A. O(1).
B. O(n).
C. O(n?).
D. None of these.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Database Management Systems
A child entity in ER diagrams is:
A. The entity on the one side of a one to many relationship.
B. Entity that inherits attributes and relations from another entity.
C. A row of a table.
D. None of these.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Database Management Systems
Boyce Codd Normal Form:
A. Addresses certain type of multivalued dependencies.
B. Makes sure that data in each column is atomic.
C. Makes sure that every determinant is a candidate key.
D. None of these.
Tamoban Javnoi
COMPUTER SCIENCE & IT
-
Database Management Systems
DDL is used to:
A. Represent the database structure.
B. Define and manage the structure of a database.
C. Deals with manipulation of data stored in the database.
D. None of these.
Harlequin Misha
COMPUTER SCIENCE & IT
-
Computer Networks & Security
Network traffic estimation is:
A. Impossible.
B. Easily computable via linear equations.
C. Can only be solved using AI techniques.
D. None of these.
Harlequin Misha
COMPUTER SCIENCE & IT
-
Computer Networks & Security
Which of the following is the most efficient encoding to send data via networks? Also consider the reasoning in your answer.
A. 3-Excess codes because it is not weighted.
B. Binary, because its representation can be done simply with zeros and ones.
C. Decimal, because a decimal requires lesser space to represent the same number.
D. None of these.
Harlequin Misha
COMPUTER SCIENCE & IT
-
Operating Systems
A computer is in System mode when:
A. CPU is executing a program which is part of the operating system.
B. The process execution is halted to listen to device inputs.
C. The system is switching between processes.
D. None of these.
Harlequin Misha
COMPUTER SCIENCE & IT
-
Operating Systems
Which is better, Time slicing or time sharing?
A. Time slicing is better because it deals with process allocation at the CPU level.
B. Time sharing is better because it gives multiple users the illusion of each having his own processor.
C. The comparison is not possible because one is part of the other.
D. None of these.
Harlequin Misha
COMPUTER SCIENCE & IT
-
Operating Systems
Which of the following are/is true?
A. In the era of platform independence all Operating systems can be made without considering low level details of machines.
B. Operating systems can be made without using assembly languages.
C. Operating systems aren?t needed because everything can run on the internet.
D. None of these.
Harlequin Misha
COMPUTER SCIENCE & IT
-
Data Structures & Algorithms
Which of the following are true about the Weiner filter?
A. It is a deterministic algorithm.
B. It minimizes the quadratic error.
C. It uses the binary cross entropy.
D. None of these.
Harlequin Misha
COMPUTER SCIENCE & IT
-
Web Design & Development
Which of the following statements are true about PHP?
A. Echo and print are same.
B. Echo takes a single parameter.
C. Both (A) & (B).
D. None of these.
Harlequin Misha
COMPUTER SCIENCE & IT
-
Web Design & Development
Php allows dynamic code execution using:
A. Eval().
B. Reflection API.
C. File Manipulation.
D. None of these.
Contributor(8)
Fani Warraich
Anna
Bashir Farooqi
Muhammad Tayyab Ikhlas
Sidis
Tamoban Javnoi
testdeveloper
Harlequin Misha
It is tedious right option?