A Level Computer Science Quiz 2019 Part 3

20 Questions

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!!!

1:

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


Correct
  • 1:
    Java
  • 2:
    Pascal
  • 3:
    Assembly language
  • 4:
    C++
2:

The difference between a linear array and a record is:


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

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
  • 1:
    (a) syntax, (b) lexical
  • 2:
    (a) lexical, (b) syntax
  • 3:
    (a) semantic, (b) code generation
  • 4:
    (a) lexical, (b) semantic
4:

A variable P is called a pointer variable if it:


Correct
  • 1:
    Contains the address of a data item
  • 2:
    Points to the address of the first element in some data item
  • 3:
    Can store only memory addresses
  • 4:
    Contain a data item and its address
5:

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


Correct
  • 1:
    Pointers
  • 2:
    Records
  • 3:
    Arrays
  • 4:
    None of the above
6:

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


Correct
  • 1:
    Arrays
  • 2:
    Records
  • 3:
    Pointers
  • 4:
    None of the above
7:

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


<p>The following tree is traversed using pre-order traversal. In which order are the<br/>nodes printed out?   </p>
Correct
  • 1:
    M K T P V
  • 2:
    M K P T V
  • 3:
    M P K T V
  • 4:
    M P V T K
8:

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


Correct
  • 1:
    Binary search
  • 2:
    Sequential search
  • 3:
    Quick search
  • 4:
    Bubble search
9:

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


Correct
  • 1:
    System Planning
  • 2:
    System Analysis
  • 3:
    Feasibility Study
  • 4:
    System Design
10:

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


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

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


Correct
  • 1:
    Management Information System
  • 2:
    Information & Communication System
  • 3:
    Geographic Information System
  • 4:
    Data Communication System
12:

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


Correct
  • 1:
    Design phase
  • 2:
    System Maintenance phase
  • 3:
    Feasibility Study phase
  • 4:
    Coding phase
13:

Management information systems


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

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


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

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


Correct
  • 1:
    Stack
  • 2:
    Array
  • 3:
    Queue
  • 4:
    Record
16:

Which step of SDLC performs cost-benefit analysis?


Correct
  • 1:
    Feasibility study
  • 2:
    Analysis
  • 3:
    Design
  • 4:
    None of the above
17:

Prototyping is performed by:


Correct
  • 1:
    Client
  • 2:
    Developer
  • 3:
    Manager
  • 4:
    Both 1 & 2 above
18:

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


Correct
  • 1:
    Accepting testing
  • 2:
    Unit testing
  • 3:
    Integration testing
  • 4:
    None of the above
19:

In computing a user-interface:


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

Verification and validation consist of a variety of _______ activities


Correct
  • 1:
    Design
  • 2:
    Analysis
  • 3:
    Maintenance
  • 4:
    Software and assurance

Feature Image

A Level Computer Science Quiz 2019 Part 3