Skip to content

Programming Languages

Topic Study67 questionsPage 1/3

This page lists all 67 published Computer Science MCQs on Programming Languages, newest first, out of 1,397 in Computer Science. Each has the answer highlighted and an explanation reviewed by a validator before publishing.

Other Computer Science topics with their own pages: Networking and Internet, Memory and Storage, Computer Hardware and Devices, Operating Systems, History and Generations of Computers.

Deep Study ModeFree account required

Topics in Computer Science

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

Read Mode

Programming Languages

easy2021FIA Sub Inspector Paper 15-12-2021
Computer ScienceFIA

Which tag is used to underline text in HTML?

Correct answer: C

A
None of these
B
4. None of these
C
<u>
Correct
D
<underline>
Explanation and memory cue

The HTML tag used to underline text is the <u> tag. This tag encloses the text you want to underline, for example: <u>underlined text</u>. While the <u> tag was deprecated in HTML 4, it was reintroduced in HTML5 with a semantic meaning related to non-textual annotations. However, it still renders text with an underline by default in all modern browsers. The <underline> tag is not a valid HTML tag, and option B is invalid. Therefore, the correct answer is C.

2

Read Mode

Programming Languages

easy2021
Computer ScienceFIA

HTML is an abbreviation for _____?

Correct answer: B

A
Hi Tech Meaningful Language
B
Hypertext Markup Language
Correct
C
Hypertext Mark Language
D
None of these
Explanation and memory cue

HTML stands for Hypertext Markup Language, which is the standard language used to create and design web pages. This is a well-known and established fact in computer science.

3

Read Mode

Programming Languages

easy2021FIA ASI Paper 15-12-2021
Computer ScienceFIA

Which tag is used to underline text in HTML?

Correct answer: D

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

The correct HTML tag to underline text is <u>. Since none of the given options (B, C, D) represent the <u> tag, the correct answer is 'None of these'.

4

Read Mode

Programming Languages

easy
Computer Science

What does PHP stand for in programming?

Correct answer: B

A
Personal Home Page
B
Hypertext Preprocessor
Correct
C
Hypertext Process
D
Python Hypertext Preprocessor
Explanation and memory cue

PHP originally stood for 'Personal Home Page', but it now stands for 'PHP: Hypertext Preprocessor', which is a recursive acronym. This is the correct and current meaning of PHP in programming.

5

Read Mode

Programming Languages

easy
Computer Science

The web page code is written using ____:

Correct answer: A

A
Hypertext markup
Correct
B
WinZip URL Perl A
C
language WinZip URL Perl
D
URL Perl
Explanation and memory cue

Web pages are primarily written using Hypertext Markup Language (HTML), which structures the content on the web. The other options do not represent languages used for writing web page code.

6

Read Mode

Programming Languages

easy
Computer Science

What does HTML stand for?

Correct answer: A

A
Hypertext Markup Language
Correct
B
Hypertext Media Language
C
Hyper Media Language
D
Hyperlink Text Language
Explanation and memory cue

HTML stands for Hypertext Markup Language, which is the standard language used to create and design webpages by structuring content and hyperlinks.

7

Read Mode

Programming Languages

easy
Computer Science

What is the smallest header in HTML by default among the options given?

Correct answer: D

A
H1
B
H2
C
H3
D
H4
Correct
Explanation and memory cue

HTML header tags range from <h1> to <h6>. By default, <h1> is the largest header and <h6> is the smallest. Among the given options (H1, H2, H3, H4), H4 is the smallest header tag by default. The question asks for the smallest header among the options provided, so the correct answer is H4.

8

Read Mode

Programming Languages

easy
Computer Science

HTML is the basic language used to create ____:

Correct answer: C

A
Databases
B
Spreadsheets
C
Web pages
Correct
D
Desktop publishing
Explanation and memory cue

HTML (HyperText Markup Language) is the fundamental language used to create and structure web pages, making option C the correct answer.

9

Read Mode

Programming Languages

easy
Computer Science

Which statement is valid about a computer program?

Correct answer: D

A
It is understood by programmer
B
It is understood by a computer
C
It is understood by user
D
Both A and B
Correct
Explanation and memory cue

A computer program is written in a programming language that is understood by programmers and then translated into machine code that a computer can understand. Therefore, both statements A and B are valid.

10

Read Mode

Programming Languages

easy
Computer Science

Who developed LISP (LISt Processing language) in 1958 at MIT for Artificial Intelligence research?

Correct answer: A

A
John McCarthy
Correct
B
Dennis Ritchie
C
Bjarne Stroustrup
D
Howard Aiken
Explanation and memory cue

John McCarthy developed LISP in 1958 at MIT specifically for artificial intelligence research, making him the correct answer. The other options are notable computer scientists but not related to LISP's creation.

11

Read Mode

Programming Languages

easy
Computer Science

Who developed the C language in 1972 at Bell Labs?

Correct answer: B

A
John McCarthy
B
Dennis Ritchie
Correct
C
Bjarne Stroustrup
D
Charles Babbage
Explanation and memory cue

Dennis Ritchie developed the C programming language in 1972 at Bell Labs, making option B the correct answer. The other options are notable figures in computing but unrelated to the creation of C.

12

Read Mode

Programming Languages

easy
Computer Science

Who discovered the Python programming language in 1991?

Correct answer: B

A
James Gosling
B
Guido van Rossum
Correct
C
Dennis Ritchie
D
Bjarne Stroustrup
Explanation and memory cue

Guido van Rossum created the Python programming language and released it in 1991. The other options are creators of different programming languages: James Gosling (Java), Dennis Ritchie (C), and Bjarne Stroustrup (C++).

13

Read Mode

Programming Languages

easy
Computer Science

A computer program that translates one program instruction (one line at a time) into machine language is called____:

Correct answer: A

A
Interpreter
Correct
B
CPU
C
Compiler
D
None of these
Explanation and memory cue

An interpreter translates and executes a program one instruction at a time into machine language, unlike a compiler which translates the entire program at once. Therefore, the correct answer is Interpreter.

14

Read Mode

Programming Languages

easy
Computer Science

Who developed COBOL, the Common Business Oriented Language, in 1959?

Correct answer: A

A
Grace Hopper
Correct
B
John Backus
C
Alan Turing
D
Konrad Zuse
Explanation and memory cue

Grace Hopper was a pioneering computer scientist who played a key role in developing COBOL in 1959, making her the correct answer. The other options are notable computer scientists but were not involved in COBOL's creation.

15

Read Mode

Programming Languages

easy
Computer Science

Who created the Pascal programming language?

Correct answer: C

A
John Backus
B
Dennis Ritchie
C
Niklaus Wirth
Correct
D
None of these
Explanation and memory cue

Niklaus Wirth created the Pascal programming language in the late 1960s and early 1970s. The other options are creators of different programming languages: John Backus developed Fortran, and Dennis Ritchie developed C.

16

Read Mode

Programming Languages

easy
Computer Science

Who discovered the Java programming language in 1995?

Correct answer: A

A
James Gosling
Correct
B
Guido van Rossum
C
Ken Thompson
D
Tim Berners-Lee
Explanation and memory cue

James Gosling is credited with creating the Java programming language in 1995 while working at Sun Microsystems. The other options are creators of different technologies: Guido van Rossum created Python, Ken Thompson co-created Unix, and Tim Berners-Lee invented the World Wide Web.

17

Read Mode

Programming Languages

easy
Computer Science

Who developed the first compiler?

Correct answer: C

A
Ada Lovelace
B
John von Neumann
C
Grace Hopper
Correct
D
Allan Turing
Explanation and memory cue

Grace Hopper developed the first compiler, which translated symbolic mathematical code into machine-readable instructions, pioneering programming language development.

18

Read Mode

Programming Languages

easy
Computer Science

Who developed C++ in 1979 at Bell Labs?

Correct answer: B

A
Dennis Ritchie
B
Bjarne Stroustrup
Correct
C
John von Neumann
D
Alan Turing
Explanation and memory cue

Bjarne Stroustrup developed C++ in 1979 at Bell Labs as an extension of the C programming language, adding object-oriented features. The other options are notable computer scientists but not related to C++ development.

19

Read Mode

Programming Languages

easy
Computer Science

What is a compiler?

Correct answer: A

A
System program that converts instructions to machine language
Correct
B
System program that converts machine language
C
System program that writes instructions
D
All of these
Explanation and memory cue

A compiler is a system program that translates instructions written in a high-level programming language into machine language that the computer's processor can execute directly. This matches option A.

20

Read Mode

Programming Languages

easy
Computer Science

Which program is used to convert a high-level programming language into low-level language at one time?

Correct answer: C

A
Assembler
B
Distributer
C
Compiler
Correct
D
Tabulator
Explanation and memory cue

A compiler translates the entire high-level program into low-level machine code in one go, unlike an assembler which translates assembly language, or other tools that do not perform this function.

21

Read Mode

Programming Languages

easy
Computer Science

In programming, instructions represented by symbolic codes (mnemonics) such as ADD or MOV, which are more human-readable than binary, belong to which language?

Correct answer: B

A
Machine Language
B
Assembly Language
Correct
C
High-Level Language
D
Scripting Language
Explanation and memory cue

Assembly language uses symbolic codes called mnemonics (like ADD or MOV) that are more human-readable than binary machine code. This distinguishes it from machine language, high-level languages, and scripting languages.

22

Read Mode

Programming Languages

easy
Computer Science

FORTRAN, COBOL, and BASIC are ____ languages.

Correct answer: A

A
Procedural
Correct
B
Object oriented
C
Both A and B
D
None of these
Explanation and memory cue

FORTRAN, COBOL, and BASIC are all examples of procedural programming languages, as they follow a sequence of instructions and procedures. They are not object-oriented languages.

23

Read Mode

Programming Languages

easy
Computer Science

Many programmers call writing the software program ____:

Correct answer: C

A
Prototyping
B
Looping
C
Coding
Correct
D
Compiling
Explanation and memory cue

Writing the software program is commonly referred to as coding, which involves creating the source code in a programming language. Prototyping, looping, and compiling are different stages or concepts in software development but do not directly mean writing the program.

24

Read Mode

Programming Languages

easy
Computer Science

In which language is the source program written?

Correct answer: C

A
English
B
Symbolic
C
High level
Correct
D
None of these
Explanation and memory cue

A source program is typically written in a high-level programming language, which is more abstract and easier for humans to understand compared to symbolic or machine languages. English is not a programming language, so 'High level' is the correct answer.

25

Read Mode

Programming Languages

easy
Computer Science

Machine language is ____?

Correct answer: A

A
Difficult to program and error-prone
Correct
B
Easy to understand
C
Based on high-level languages
D
All of these
Explanation and memory cue

Machine language consists of binary code that is directly executed by a computer's CPU. It is difficult to program and error-prone because it is low-level and not human-readable, unlike high-level languages which are easier to understand and write.