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