wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer Programming - Intro

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

All programming languages follow certain grammar while coding. What is this grammar called as?

a)

instruction

b)

command

c)

syntax

d)

information

2.

Set of instructions are written to perform a task. What is this set of instructions called as?

a)

information

b)

Data

c)

Program

d)

syntax

3.

High level language is converted in to machine language using a translator. What type of translator is used in C & C++ ?

a)

Interpreter

b)

Compiler

c)

Assembler

d)

Decoder

4.

High level language is converted in to machine language using a translator. What type of translator is used in the popular programming language Python?

a)

Interpreter

b)

Compiler

c)

Assembler

d)

Decoder

5.

Which of the following converts the program into object code, that can be directly executed by the machine after linking?

a)

An Interpreter

b)

A Compiler

c)

A Decoder

d)

An Assembler

6.

Which of the following directly executes instructions written in programming language, without converting to object code or machine code?

a)

An Interpreter

b)

A Compiler

c)

An Assembler

d)

A Decoder

7.

Which of the following translates a program written in assembly language into machine language?

a)

An Interpreter

b)

A Compiler

c)

An Assembler

d)

A Decoder

8.

Compiler uses few tools. Which tool merges the object files and create executable files?

a)

Pre-processor

b)

Linker

c)

Loader

d)

Assembler

9.

The Preprocessor removes_____ from the source code.

a)

comments

b)

header files

c)

comments & header files

d)

names of variables

10.

Which part of Operating System, loads the executable files in the memory and helps in running the programs?

a)

Pre-processor

b)

Linker

c)

Loader

d)

Assembler

11.

Which of the following translates the source code, one line at a time.  

a)

An Interpreter

b)

A Compiler

c)

An Assembler

d)

A Decoder

12.

Which of the following is designed to replace binary machine code with an easy understandable mnemonic code.

a)

High Level Language

b)

Middle level Language

c)

Assembly language

d)

Machine Language