Skip to content

Programming Languages

Topic Study67 questionsPage 2/3

Questions 26–50 of 67 Programming Languages MCQs — start at page 1 for an overview.

Deep Study ModeFree account required

Topics in Computer Science

Showing 26-50 of 67Deep Study (one question at a time, with progress saved) needs a free account.
26

Read Mode

Programming Languages

easy
Computer Science

Programs written in assembly language are translated into machine code by which specialized utility?

Correct answer: C

A
Compiler
B
Interpreter
C
Assembler
Correct
D
Linker
Explanation and memory cue

Assembly language programs are translated into machine code by an assembler, which converts the low-level assembly instructions into binary code that the computer's processor can execute directly.

27

Read Mode

Programming Languages

easy
Computer Science

What are the two types of high-level programming languages?

Correct answer: B

A
Functional and Procedural
B
Procedural and Object-oriented
Correct
C
Object-oriented and Assembly
D
Declarative and Procedural
Explanation and memory cue

The two main types of high-level programming languages commonly recognized are Procedural and Object-oriented. Procedural languages focus on procedure calls and routines, while Object-oriented languages are based on objects and classes. Functional and Declarative are also categories but less commonly paired as the primary types in this context, and Assembly is a low-level language, not high-level.

28

Read Mode

Programming Languages

easy
Computer Science

What does the acronym FORTRAN stand for?

Correct answer: A

A
Formula Translation
Correct
B
Formula Transmit
C
Function Translation
D
Function Transmit
Explanation and memory cue

FORTRAN stands for 'Formula Translation,' which is the original name given to this high-level programming language designed for numeric and scientific computing.

29

Read Mode

Programming Languages

easy
Computer Science

The language used for artificial intelligence is____:

Correct answer: B

A
COBOL
B
PROLOG
Correct
C
FORTRAN
D
None of these
Explanation and memory cue

PROLOG is a high-level programming language commonly used in artificial intelligence for its strength in symbolic reasoning and pattern matching, unlike COBOL and FORTRAN which are not typically used for AI.

30

Read Mode

Programming Languages

easy
Computer Science

Which of the following is a feature of object-oriented programming?

Correct answer: A

A
Use of classes and objects
Correct
B
Use of opcode and operand
C
Limited use of functions
D
Strong typing of variables
Explanation and memory cue

Object-oriented programming is characterized by the use of classes and objects to encapsulate data and behavior. Opcodes and operands relate to low-level machine instructions, limited use of functions is not a defining feature, and strong typing is a separate concept not exclusive to OOP.

31

Read Mode

Programming Languages

easy
Computer Science

Which are low-level computer languages?

Correct answer: C

A
Machine
B
Assembly
C
Both A & B
Correct
D
None of these
Explanation and memory cue

Machine language and assembly language are both considered low-level programming languages because they are closely related to the hardware and provide little abstraction from the computer's instruction set architecture. Therefore, 'Both A & B' is the correct answer.

32

Read Mode

Programming Languages

easy
Computer Science

In the field of computers, what is BASIC (Beginners All-Purpose Symbolic Instruction Code)?

Correct answer: A

A
A Programming language
Correct
B
A Software
C
Software coding
D
A basic course in computers
Explanation and memory cue

BASIC stands for Beginners All-Purpose Symbolic Instruction Code and is a programming language designed for ease of use by beginners. It is not software, software coding in general, or a basic course in computers.

33

Read Mode

Programming Languages

easy
Computer Science

Who created the FORTRAN programming language in 1957?

Correct answer: B

A
Alan Turing
B
John Backus
Correct
C
Grace Hopper
D
Dennis Ritchie
Explanation and memory cue

John Backus led the team at IBM that developed the FORTRAN programming language in 1957, making him the correct answer. The other individuals are notable computer scientists but were not responsible for creating FORTRAN.

34

Read Mode

Programming Languages

easy
Computer Science

The only language that a computer can understand and execute directly is called ____.

Correct answer: B

A
Assembly
B
Machine Language
Correct
C
PHP
D
None of these
Explanation and memory cue

Machine language is the only language that a computer's hardware can directly understand and execute. Assembly language is a low-level language that needs to be translated into machine language. PHP is a high-level programming language that requires interpretation or compilation.

35

Read Mode

Programming Languages

Easy
Computer Science

Which of the following is not true of FORTRAN?

Correct answer: D

A
It was developed for scientific and mathematical applications
B
It is one of the oldest high-level languages
C
It is a problem-oriented language
D
It requires extensive internal documentation
Correct
Explanation and memory cue

FORTRAN (Formula Translation) is one of the earliest high-level programming languages and was developed for scientific and mathematical computations. It is problem-oriented and widely used in engineering and scientific fields. However, requiring extensive internal documentation is not a defining or mandatory characteristic of FORTRAN.

36

Read Mode

Programming Languages

Easy
Computer Science

Which of the following is a popular programming language for developing multimedia web pages?

Correct answer: C

A
BASIC
B
Assembler
C
Java
Correct
D
COBOL
Explanation and memory cue

Java is a widely used programming language that has been used for developing interactive and multimedia web applications through technologies such as applets and web-based applications. The other options are not commonly used for multimedia web development.

37

Read Mode

Programming Languages

Easy
Computer Science

Which of the following is a programming language?

Correct answer: B

A
Lotus
B
Pascal
Correct
C
MS-Excel
D
Netscape
Explanation and memory cue

Pascal is a high-level procedural programming language developed in the late 1960s. Lotus is a spreadsheet application, MS-Excel is a spreadsheet software, and Netscape is a web browser, none of which are programming languages.

38

Read Mode

Programming Languages

Easy
Computer Science

Which of the following is a machine-independent program?

Correct answer: A

A
High-level language
Correct
B
Low-level language
C
Assembly language
D
Machine language
Explanation and memory cue

High-level languages are machine independent because they can run on different types of computers with little or no modification. In contrast, low-level, assembly, and machine languages are machine dependent and tied to specific hardware architectures.

39

Read Mode

Programming Languages

medium
Computer Science

Which programming language was notably popular among users of early microcomputers due to its efficiency and suitability for low-resource environments?

Correct answer: A

A
FORTH
Correct
B
LOGO
C
APL
D
ALGOL
Explanation and memory cue

In the early days of microcomputers, FORTH was indeed popular among users due to its efficiency and suitability for low-resource environments. It was used notably on systems like the Apple II and various hobbyist kits. While BASIC was the most widespread language on microcomputers, the question asks for a language 'much in vogue' among microcomputer users, and FORTH fits this description as a favored language for enthusiasts and hobbyists who needed a compact, fast language. LOGO and APL were used more in educational and specialized contexts, and ALGOL was less common among microcomputer users. Therefore, FORTH is a reasonable and historically accurate answer.

40

Read Mode

Programming Languages

easy
Computer Science

Which programming languages are classified as low-level languages?

Correct answer: D

A
BASIC, COBOL, Fortran
B
Prolog
C
C, C++
D
Assembly languages
Correct
Explanation and memory cue

Assembly languages are considered low-level programming languages because they provide a close correspondence to a computer's machine code instructions, unlike high-level languages such as BASIC, COBOL, Fortran, C, C++, or Prolog.

41

Read Mode

Programming Languages

Easy
Computer Science

Which of the following languages is more suited to a structured program?

Correct answer: D

A
PL/1
B
FORTRAN
C
BASIC
D
PASCAL
Correct
Explanation and memory cue

PASCAL is a programming language specifically designed to support structured programming, emphasizing clear program structure and readability. It encourages the use of procedures and functions, making programs easier to understand and maintain compared to languages like FORTRAN, BASIC, and PL/1.

42

Read Mode

Programming Languages

easy
Computer Science

Who invented the high-level language C?

Correct answer: A

A
Dennis M. Ritchie
Correct
B
Niklaus Wirth
C
Seymour Papert
D
Donald Knuth
Explanation and memory cue

Dennis M. Ritchie invented the C programming language in the early 1970s at Bell Labs. He is widely recognized as the creator of C, which is a high-level programming language.

43

Read Mode

Programming Languages

easy
Computer Science

Which statement is valid about computer programs?

Correct answer: A

A
High-level languages must be converted into machine language to execute
Correct
B
High-level language programs are more efficient and faster to execute
C
It is more difficult to identify errors in high-level language programs than in low-level programs
D
All of the above
Explanation and memory cue

High-level languages must be translated into machine language (via compilation or interpretation) before execution, making statement A correct. Statement B is incorrect because high-level programs are generally less efficient and slower than low-level programs. Statement C is incorrect as errors are typically easier to identify in high-level languages due to better abstraction and debugging tools. Therefore, option A is the valid statement.

44

Read Mode

Programming Languages

easy
Computer Science

Who invented the Java programming language?

Correct answer: C

A
Dennis Ritchie
B
Linus Torvalds
C
James Gosling
Correct
D
Bjarne Stroustrup
Explanation and memory cue

James Gosling is credited with inventing the Java programming language while working at Sun Microsystems in the early 1990s. The other options are notable figures in computing but not related to Java's creation.

45

Read Mode

Programming Languages

easy
Computer Science

Which is another name for functional language?

Correct answer: D

A
Machine
B
Application language
C
Low-level language
D
High-level language
Correct
Explanation and memory cue

Functional language is a type of high-level programming language that emphasizes the use of functions and avoids changing state and mutable data. Therefore, it is another name for a high-level language rather than an application language.

46

Read Mode

Programming Languages

easy
Computer Science

What is a limitation of high-level programming languages?

Correct answer: A

A
Lower efficiency
Correct
B
Machine dependence
C
Machine level coding
D
None of the above
Explanation and memory cue

High-level languages are generally less efficient than low-level languages because they require translation into machine code, which can add overhead. They are machine independent and do not involve machine-level coding directly, making 'Lower efficiency' the main limitation.

47

Read Mode

Programming Languages

easy
Computer Science

What do you call the translator that takes an assembly language program as input and produces machine language code as output?

Correct answer: D

A
Compiler
B
Interpreter
C
Debugger
D
Assembler
Correct
Explanation and memory cue

An assembler is a translator that converts assembly language programs into machine language code, which can be executed by a computer's CPU. This distinguishes it from compilers and interpreters, which work with higher-level languages, and debuggers, which are used for testing and debugging code.

48

Read Mode

Programming Languages

easy
Computer Science

What is an interpreter?

Correct answer: A

A
An interpreter does the conversion line by line as the program is run.
Correct
B
An interpreter is the representation of the system being designed.
C
An interpreter is a general purpose language providing very efficient execution.
D
None of these
Explanation and memory cue

An interpreter translates and executes a program line by line, converting each statement into machine code and running it immediately, unlike a compiler which translates the entire program before execution.

49

Read Mode

Programming Languages

easy
Computer Science

746 The symbols used in an assembly language are ____?

Correct answer: C

A
Code
B
Assembler
C
Mnemonics
Correct
D
All of the above
Explanation and memory cue

In assembly language, the symbols used to represent machine instructions are called mnemonics. They are human-readable codes that correspond to machine-level instructions, making option C the correct answer.

50

Read Mode

Programming Languages

easy
Computer Science

The process to remove errors in a program is called ____?

Correct answer: D

A
Compiling
B
Executing
C
Bug
D
Debugging
Correct
Explanation and memory cue

The process of removing errors or bugs in a program is called debugging. Compiling translates code, executing runs the program, and bug refers to the error itself.