Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Prog Lang - FA1

Total questions: 51

Worksheet time: 26mins

Name
Class
Date
1.

The Common Lisp (CL) is a dialect of the Lisp programming language, published in ANSI standard document.

a)

True

b)

False

2.

If an error occurs, an interpreter stops execution and reports it; whereas a compiler reads the whole program even if it encounters several errors.

a)

False

b)

True

3.

The interpretation allows greater flexibility while Compilation use for better performance.

a)

True

b)

False

4.

The ML is a general-purpose functional programming language developed by Robin Milner and others in the early 1970s at the University of Edinburgh. ML stands for MetaLanguage.

a)

True

b)

False

5.

FORTRAN is originally developed by IBM in the 1950s for scientific and engineering applications.

a)

False

b)

True

6.

A computer program that links and merges various object files together in order to make an executable file.

a)

LINKER

b)

INTERPRETER

c)

COMPILER

d)

None of the Above

7.

An Interpreter reads the whole source code at once, creates tokens, checks semantics, generates intermediate code, executes the whole program and may involve many passes.

a)

True

b)

False

8.

A general-purpose, object-oriented programming language. It supports both static and dynamic typing.

a)

MODULA-3

b)

C LANGUAGE

c)

COBRA

d)

None of the Above

9.

A compiler hides further steps; a pre-processor does not hide steps.

a)

True

b)

False

10.

The __________ looks for compiler directives and removes the comments and white space.

a)

PREPROCESSOR

b)

INTERPRETER

c)

LEXICAL ANALYZER

d)

None of the Above

11.

Compilation is translation from one language into another, with full analysis of the meaning of the input.

a)

True

b)

False

12.

Scanning divides the program into "tokens", which are the smallest meaningful units; this saves time, since character-by-character processing is slow

a)

False

b)

True

13.

The recursive rules known as parsing define the ways in which these constituents combine.


a)

True

b)

False

14.

The Intermediate Form (IFs) are often chosen for machine independence, ease of optimization, or compactness.

a)

True

b)

False

15.

Compilation entails semantic understanding of what is being processed.

a)

True

b)

False

16.

An imperative and procedural programming language, which Niklaus Wirth designed in 1968–69 and published in 1970.

a)

MODULA-3

b)

PASCAL

c)

FORTRAN

d)

None of the Above

17.

In MetaLanguage(ML), help you understand first-class functions/closures, streams, catch and throw, symbol internals.

a)

True

b)

False

18.

A program that converts the assembly language to machine-level language.

a)

ASSEMBLER

b)

INTERPRETER

c)

TRANSLATOR

d)

None of the Above

19.

A general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing.

a)

FORTRAN

b)

MODULA-3

c)

C LANGUAGE

d)

None of the Above

20.

The language is intended for the way of thinking and way of expressing algorithms

a)

True

b)

False

21.

A modern programming language designed for large, long-lived applications – and embedded systems in particular – where reliability and efficiency are essential.

a)

ADA

b)

COBOL

c)

FORTRAN

d)

None of the Above

22.

Most language implementations include a mixture of both compilation and interpretation.

a)

False

b)

True

23.

The Lexical Analyzer removes spaces and other unnecessary things like comments.

a)

True

b)

False

24.

The interpreter does what is called STATIC semantic analysis.

a)

False

b)

True

25.

The main C# compiler produces .NET Common Intermediate Language (CIL), which is then translated into machine code immediately prior to execution.

a)

True

b)

False

26.

The Java language definition defines a machine-independent intermediate form known as byte code.

a)

True

b)

False

27.

In C programming language , help you understand unions, arrays & pointers, separate compilation, var args, catch and throw.

a)

False

b)

True

28.

The minor task of a linker is to search and locate referenced module/routines in a program

a)

True

b)

False

29.

ALGOL 69 (short for ALGOrithmic Language 1969) is an imperative computer programming language that was conceived as a successor to the ALGOL 60 programming language

a)

True

b)

False

30.

What is the Language developed for backing of a powerful sponsor?

a)

None of the Above


b)

PASCAL

c)

FORTRAN

d)

COBOL

31.

The term parsing is part of the recognition of a regular language.

a)

True

b)

False

32.

The ________code is the standard format for distribution of Java programs.

a)

BYTE

b)

BIT

c)

WORD

d)

None of the Above

33.

The Intermediate form (IF) done after semantic analysis.

a)

True

b)

False

34.

The compilation does NOT have to produce machine language for some sort of hardware.

a)

True

b)

False

35.

An assembler translates assembly language programs into machine code.

a)

True

b)

False

36.

FORTRAN is a programming language intended for numerical computations.

a)

True

b)

False

37.

Algol 68 is a functional programming language and one of the two main dialects of the programming language Lisp.

a)

True

b)

False

38.

What is the Language possible to compile to very good (fast/small) code?

a)

FORTRAN

b)

PASCAL

c)

COBOL

d)

None of the Above

39.

A programming language that is wide dissemination at minimal cost like Pascal and Java.

a)

True

b)

False

40.

Assembly-level instruction set is not implemented in hardware; it runs on an interpreter.

a)

False

b)

True

41.

A preprocessor is generally considered as a part of compiler, is a tool that produces input for compilers.

a)

True

b)

False

42.

A programming language conceived as a successor to an upgraded version of Modula-2 known as Modula-2+.

a)

MODULA-3

b)

FORTRAN

c)

C LANGUAGE

d)

None of the Above

43.

The compiler is the point of control during execution.

a)

True

b)

False

44.

The output of an assembler is called an object file, which contains a combination of machine instructions as well as the data required to place these instructions in memory.

a)

True

b)

False

45.

In parsing it finds the structure you can describe with syntax diagrams.

a)

True

b)

False

46.

Scanning discovers the "context free" structure of the program.

a)

True

b)

False

47.

The preprocessor deletes portions of code, which allows several versions of a program to be built from the same source

a)

False

b)

True

48.

The parsing organizes tokens into a parse tree that represents higher-level constructs in terms of their constituents.

a)

True

b)

False

49.

A program that converts high-level language to assembly language

a)

COMPILER

b)

INTERPRETER

c)

TRANSLATOR

d)

None of the Above

50.

An interpreter, like a compiler, translates high-level language into low-level machine language

a)

True

b)

False

51.

Interpreter is written in low-level instructions.

a)

True

b)

False