Search Header Logo

GCE computer science - Program construction

Authored by Victoria Price

Computers

12th Grade

Used 4+ times

GCE computer science - Program construction
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

(a)   analysis is the first stage of the compilation process.


2.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

As part of the lexical analysis stage, a ______ _____ is produced.

(a)  

3.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

The speed with which an identifier can be found in the symbol table can make a huge difference to the overall speed of (a)   .


4.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Symbol tables can be implemented in a number of different ways. If only a very basic symbol table is required, a list could be used, either ordered or unordered. If a large amount of data needs to be stored, a ______ ______ ______ or a hash table might be used to speed up the retrieval of information about a particular identifier.

(a)  

5.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Some compilers implement a global symbol table and separate individual symbol tables for storing identifiers within a particular scope, such as within a subroutine. In this case, the symbol table may take a (a)   structure.


6.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

While __________ ___________ and comments are helpful for the human reader, they are not necessary for the executable code, so the compiler removes them during lexical analysis.

(a)  

7.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

The source code created by the programmer is (a)   for translation into executable code.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?