NEW 1.2.2 Application generation

NEW 1.2.2 Application generation

2nd Grade

52 Qs

quiz-placeholder

Similar activities

Scratch Coding Final Exam

Scratch Coding Final Exam

1st - 6th Grade

50 Qs

*Computer Science Test*

*Computer Science Test*

KG - Professional Development

55 Qs

TOACD

TOACD

KG - 6th Grade

50 Qs

ERC SAMPLE QUESTIONS

ERC SAMPLE QUESTIONS

2nd Grade

56 Qs

IT Fundamentals Test Part 1

IT Fundamentals Test Part 1

KG - University

49 Qs

MH 1.2.2 Applications Generation

MH 1.2.2 Applications Generation

2nd Grade

52 Qs

computer

computer

1st Grade - University

51 Qs

Computer terms

Computer terms

KG - 4th Grade

51 Qs

NEW 1.2.2 Application generation

NEW 1.2.2 Application generation

Assessment

Quiz

Computers

2nd Grade

Medium

Created by

Matt Hunt

Used 18+ times

FREE Resource

52 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is the correct order of the stages of compilation?

Lexical Analysis > Syntax Analysis > Optimisation > Code Generation

Lexical Analysis > Syntax Analysis > Code Generation > Optimisation

Syntax Analysis > Lexical Analysis > Code Generation > Optimisation

Syntax Analysis > Lexical Analysis > Optimisation > Code Generation

Answer explanation

Compilation is the translation process that produces object code, intermediate code or machine code from high level source code. Compilation involves analysing the language structure of the source program, determining if it is valid, and producing suitable code for the CPU to execute. The stages of compilation are 1) Lexical Analysis, 2) Syntax Analysis, 3) Code Generation, 4) Optimisation.

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the best definition of backup utilities?

Provides a way to recover data if the original copy gets lost, deleted or corrupted

Reduces the amount of space information takes up on a storage device

Helps to consolidate the parts of the files back together

Helps to detect and remove malicious programs

Answer explanation

Utility software are system programs that perform a specific task in the operation of the computer. For example file backup, virus checking or a compression program. They are typically designed to keep your computer safe and in good working order. Backup utilities provide a way to recover data in case the original copy gets lost, deleted or corrupted.

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is a disadvantage of closed source software?

Support is normally free

The company tends to provide free updates

The company is obliged to provide software that is fit for purpose

The software cannot be changed

Answer explanation

Closed source software (often called proprietary) is a type of computer program for which the software code is not shared with the public for anyone to look at or make changes to. Closed / Proprietary file types are often only able to be opened if you own a version of the software they were originally made in.

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the best definition of 'file managers'?

Helps to detect and remove malicious programs

Reduces the amount of space information takes up on a storage device

Allows directories, folders and files and to created, moved, copied, deleted and renamed

Helps to consolidate the parts of the files back together

Answer explanation

Utility software are system programs that perform a specific task in the operation of the computer. For example file backup, virus checking or a compression program. They are typically designed to keep your computer safe and in good working order. File managers allow directories, folders and files and to created, moved, copied, deleted and renamed.

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the best definition of compilation?

Turns Assembly code into machine code

Turns source code into machine code

Translates intermediate code into machine code

The process of language statements being checked against the rules of the language

Answer explanation

Compilation is the translation process that produces machine code from source code through many stages including lexical analysis, syntax analysis, code generation and linking library routines.

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the best definition of lexical analysis?

The translation process that produces an equivalent program in a low-level language

Ensures that executables programs are optimised at least as much as the compiler can predict

The process of language statements being checked against the rules of the language

Puts each code statement into the form best suited to the syntax analyser

Answer explanation

Lexical analysis is the stage in compilation of a program that puts each statement into the form best suited to the syntax analyser. The standard components of each statement, such as PRINT, IF etc., are replaced by their tokens (a unique fixed length code) and programmer-defined names are entered into a symbol table. The lexical analyser also removes unnecessary characters such as spaces, tabs and coder comments.

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which word should be used in this sentence? High level … can be translated into machine code using a compiler.

flowcharts

pseudocode

source code

assembly code

Answer explanation

High level source code can be translated into machine code using a compiler.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?