wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Types of Programming Languages - Quiz2

Total questions: 25

Worksheet time: 12mins

Name
Class
Date
1.

Which of the following is considered the closest to the computer’s hardware?

a)

Python

b)

C++

c)

Assembly Language

d)

Java

2.

Which of the following is NOT true about Machine Language?

a)

It is the native language of computers

b)

It consists of binary digits (0s and 1s)

c)

It is easy for humans to write and understand

d)

It executes very quickly

3.

What is required to convert assembly code into machine code?

a)

Compiler

b)

Interpreter

c)

Assembler

d)

Virtual Machine

4.

Which of the following is a feature of machine code?

a)

It uses symbolic representation for readability

b)

It is written in binary or hexadecimal format

c)

It needs an assembler to run on a CPU

d)

It can be easily debugged by humans

5.

What is a notable use of the C programming language?

a)

Web development

b)

Systems programming

c)

Device drivers

d)

Game development

6.

Which programming paradigm is based on the concept of objects with attributes and behavior?

a)

Procedural programming

b)

Functional programming

c)

Object-oriented programming

d)

Structured programming

7.

Which of the following is true about compiled languages?

a)

The code is translated line by line during runtime.

b)

The entire source code is converted into machine code at once.

c)

No executable file is generated.

d)

The code must be interpreted every time it runs.

8.

What is a characteristic of interpreted languages?

a)

They generate an executable file after compilation.

b)

They execute the source code line-by-line at runtime.

c)

They do not require an interpreter to run.

d)

The entire code is compiled before execution.

9.

What is a programming paradigm?

a)

A specific programming language syntax.

b)

A way to classify programming languages based on their features and style.

c)

A tool used for debugging programs.

d)

A method for compiling code.

10.

Which of the following is a specialized programming language used for querying databases?

a)

Swift

b)

SQL

c)

Kotlin

d)

Scala

11.

Which statement best describes a high-level programming language?

a)

It requires knowledge of hardware-specific instructions.

b)

It provides a high level of abstraction and is closer to human language.

c)

It is compiled directly into machine code without interpretation.

d)

It is only used for system programming.

12.

What is a key feature of object-oriented programming?

a)

Functions that do not depend on external state.

b)

The use of objects that encapsulate data and behavior.

c)

Focus on writing algorithms in a step-by-step format.

d)

Direct manipulation of hardware through machine code.

13.

What is a scripting language?

a)

A language that is compiled into machine code before execution.

b)

A language that is interpreted at runtime.

c)

A language used for writing operating systems.

d)

A language that communicates directly with hardware.

14.

What is the main difference between server-side and client-side scripting?

a)

Server-side scripting is faster than client-side scripting.

b)

Server-side scripting is processed on the server, while client-side scripting is processed by the browser on the user's machine.

c)

Client-side scripting can only run on specific operating systems.

d)

Server-side scripting can only be used for managing databases.

15.

What is the primary use of Swift programming language?

a)

Web development

b)

iOS and macOS application development

c)

Data analysis

d)

Scientific computing

16.

Which of the following languages is officially supported by Google for Android app development?

a)

Python

b)

Swift

c)

Kotlin

d)

R

17.

Which of the following is a key characteristic of functional programming languages?

a)

They allow mutable state.

b)

They focus on loops and iterative statements.

c)

They treat computation as the evaluation of mathematical functions.

d)

They emphasize object manipulation.

18.

Which of the following best describes a full-stack developer?

a)

A developer who works only on databases.

b)

A developer who specializes in creating user interfaces.

c)

A developer proficient in both front-end and back-end development.

d)

A developer who focuses on mobile app development.

19.

Which of the following is NOT typically part of front-end development?

a)

CSS

b)

HTML

c)

MySQL

d)

JavaScript

20.

Which factor should be considered when choosing a programming language to ensure better career prospects?

a)

Personal preference for syntax

b)

Ease of use for creating graphical interfaces

c)

Job market demand and language popularity

d)

Availability of free online courses

21.

Which of the following factors is NOT typically considered when choosing a programming language?

a)

Career goals

b)

Ease of learning

c)

The color of the programming language’s logo

d)

Community support

22.

If you are interested in building websites and web applications, which language should you focus on?

a)

C++

b)

Swift

c)

JavaScript

d)

MATLAB

23.

Which programming languages are popular choices for game development?

a)

Python and JavaScript

b)

C++ and C#

c)

Swift and Kotlin

d)

Ruby and PHP

24.

Before choosing a programming language, what should you first decide?

a)

The latest technology trends

b)

Which programming area you want to focus on (e.g., web, application, or mobile development)

c)

The number of programming languages you want to learn

d)

Your favorite programming books

25.

What are core programming principles that you should understand?

a)

Hardware architecture

b)

Loops, functions, and paradigms

c)

Networking protocols

d)

Database design