Start learning →

CS Olympiad Olympiad Computer Science — practice questions

Explore 120 free Olympiad Computer Science questions in CS Olympiad Computer Science. Open each question or exercise to read its content, reference answers and available explanation.

Practise Olympiad Computer Science with Quill →

Olympiad Computer Science questions and exercises with answers

Showing questions 1–30 of 120.

A beginner picks a language built to be easy for people to read and write. That is a:Read the answer and worked solution →A programmer writes count = 5. The name count labels a spot in:Read the answer and worked solution →In JavaScript one variable holds a number, then later a text string. JavaScript is:Read the answer and worked solution →A language forces every declaration to state both a name and a data type. It is:Read the answer and worked solution →A C variable named a stores the location of variable b. The variable a is a:Read the answer and worked solution →A team reuses ready made library functions through a published interface called an:Read the answer and worked solution →The first high level language to use a compiler, a landmark in computing, was:Read the answer and worked solution →A tool takes a whole source program and produces equivalent object code. It is a:Read the answer and worked solution →A different tool runs a program one line at a time as it translates. It is an:Read the answer and worked solution →Java compiles to bytecode, which the JVM then executes. This execution style is:Read the answer and worked solution →A paradigm centred on evaluating expressions and storing results in variables is:Read the answer and worked solution →A named block of code that can be called from anywhere to do one job is a:Read the answer and worked solution →A programmer states what result she wants and lets the system work out the steps. That style is:Read the answer and worked solution →A language built from facts and rules about a problem is a:Read the answer and worked solution →A function that calls itself to solve smaller versions of a problem uses:Read the answer and worked solution →A function that can be assigned to a variable like any value is called:Read the answer and worked solution →A function that accepts other functions as arguments is called:Read the answer and worked solution →In object oriented code, the blueprint used to construct objects is the:Read the answer and worked solution →Building one object from a class is known as:Read the answer and worked solution →A class keeps its data and methods together and hides the inner workings. This is:Read the answer and worked solution →A child class takes on attributes from its parent class. This principle is:Read the answer and worked solution →The same inherited behaviour acts differently depending on context. This is:Read the answer and worked solution →Catch the OOP ideasRead the answer and worked solution →Pop the translatorsRead the answer and worked solution →Run the language gatesRead the answer and worked solution →Slice the code wordsRead the answer and worked solution →Compiled or interpretedRead the answer and worked solution →Sort the computing termsRead the answer and worked solution →Type the numberRead the answer and worked solution →Programming bingoRead the answer and worked solution →

Worked practice questions

A beginner picks a language built to be easy for people to read and write. That is a:

  1. High level language
  2. Hard wired language
  3. Hand coded language
  4. Half built language
Show answer and solution

Correct answer: A. High level language

1. Languages differ in how close they sit to the machine. 2. One kind is designed for humans to read and understand. 3. That kind is a high level language. _Source: OpenStax Introduction to Computer Science, Chapter 7, High-Level Programming Languages._

Open this question →

A programmer writes count = 5. The name count labels a spot in:

  1. Printer
  2. Memory
  3. Monitor
  4. Network
Show answer and solution

Correct answer: B. Memory

1. A variable gives a name to a storage place. 2. That place holds a value while the program runs. 3. So count labels a spot in memory. _Source: OpenStax Introduction to Computer Science, Chapter 7, High-Level Programming Languages._

Open this question →

In JavaScript one variable holds a number, then later a text string. JavaScript is:

  1. Weakly typed
  2. Strongly typed
  3. Strictly typed
  4. Steadily typed
Show answer and solution

Correct answer: A. Weakly typed

1. Some languages lock a variable to one data type. 2. JavaScript lets the same variable hold any type. 3. So JavaScript is weakly typed. _Source: OpenStax Introduction to Computer Science, Chapter 7, High-Level Programming Languages._

Open this question →

How to practise

  1. Choose a Olympiad Computer Science question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.

More Computer Science topics