# A Level Computer Science Quiz 2019 Part 3

#### Quiz Description

Computer science has opened a gateway to a new age of technology in this 21st century. Still advancing in technology, computer science is one of the most leading subjects in the world. Given so many definitions, one can define this particular subject as the study of computer and algorithmic processes, including their applications, their hardware and software designs.

Students always have a keen interest in these particular subjects but are always reluctant to study in general. It is always integral for any examination student to answer as many questions as possible before going into the examination. In order to help students get prepared for the upcoming examinations, this quiz has been purposely created with questions based on the CGCE syllabus.

Remember to keep an open mind, you will encounter different questions that need a different way of approach.

To have more resourceful materials such as this quiz, you can visit our website.

Good luck!!!

Which of the following languages is suitable to use to program a device driver (e.g a printer driver)?

Correct
• Java
• Pascal
• Assembly language
• C++

The difference between a linear array and a record is:

Correct
• An array is suitable for homogeneous data but the data items in a record can be of different data types
• A record may not have a natural ordering in opposed to linear array
• Record entries can nest to form a hierarchical structure but a linear array does not
• All of above

At which stage of compilation will errors (a) and (b) be detected:

Error (a): the name of a variable has more characters than are permitted

Error (b): a closing parenthesis (bracket) is omitted from an arithmetic expression.

Correct
• (a) syntax, (b) lexical
• (a) lexical, (b) syntax
• (a) semantic, (b) code generation
• (a) lexical, (b) semantic

A variable P is called a pointer variable if it:

Correct
• Contains the address of a data item
• Points to the address of the first element in some data item
• Can store only memory addresses
• Contain a data item and its address

Which of the following data structures CANNOT be used to store non-homogeneous data elements?

Correct
• Pointers
• Records
• Arrays
• None of the above

Which of the following data structures is best used to store homogeneous data elements?

Correct
• Arrays
• Records
• Pointers
• None of the above

The following tree is traversed using pre-order traversal. In which order are the
nodes printed out?

Correct
• M K T P V
• M K P T V
• M P K T V
• M P V T K

Which of the following algorithms is best for searching for an item in an ordered list of numbers?

Correct
• Binary search
• Sequential search
• Quick search
• Bubble search

The detailed study of an existing system when developing an information system is referred to as:

Correct
• System Planning
• System Analysis
• Feasibility Study
• System Design

What is the objective of a test strategy for a new program?

Correct
• To ensure that the program compiles without errors
• To prove that the program has no errors
• To establish which data will allow the program to run without crashing
• To try to provoke program failure

We use them to manipulate and disseminate information among individuals and organizations, possibly over long distances

Correct
• Management Information System
• Information & Communication System
• Geographic Information System
• Data Communication System

In which step of the SDLC could project termination be done?

Correct
• Design phase
• System Maintenance phase
• Feasibility Study phase
• Coding phase

Management information systems

Correct
• Create and share documents that support day-today office activities
• Process business transactions (e.g, time cards, payments, orders, etc)
• Capture and reproduces the knowledge of an expert problem solver
• Use the transaction data to produce information needed by managers to run the business

Which of the following is a required condition for binary search algorithms?

Correct
• The list must be sorted
• There should be the direct access to the middle element in any sub list
• The number of elements in the list should be finite
• An item found can always be obtained as a middle element

During program compilation, which of the following data structures is used to hold return addresses when a procedure is called?

Correct
• Stack
• Array
• Queue
• Record

Which step of SDLC performs cost-benefit analysis?

Correct
• Feasibility study
• Analysis
• Design
• None of the above

Prototyping is performed by:

Correct
• Client
• Developer
• Manager
• Both 1 & 2 above

Which one of the following testing is performed by an end-user?

Correct
• Accepting testing
• Unit testing
• Integration testing
• None of the above

In computing a user-interface:

Correct
• Helps users to communicate with the computer
• Converts a program into a machine usable form
• Transmits data to remote locations as packets
• Is only a graphical interface

Verification and validation consist of a variety of _______ activities

Correct
• Design
• Analysis
• Maintenance
• Software and assurance