wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Intro to Programming Languages Quiz 1

Total questions: 11

Worksheet time: 8mins

Name
Class
Date
1.

What are programming languages primarily designed for?

a)

To create graphical user interfaces

b)

To facilitate communication between humans

c)

To instruct computers on how to perform specific tasks

d)

To store data in databases

2.

What is the primary characteristic of the first generation of programming languages?

a)

Use of high-level abstractions

b)

Directly understood by the computer's CPU

c)

Focus on artificial intelligence

d)

Object-oriented programming

3.

Which of the following languages is an example of a second-generation programming language?

a)

Java

b)

Python

c)

C++

d)

Assembly Language

4.

What distinguishes third-generation programming languages (3GL) from earlier generations?

a)

They are written in machine code.

b)

They use symbolic representations.

c)

They are more abstract and easier for humans to read.

d)

They focus exclusively on database management.

5.

Fourth-generation programming languages (4GL) are primarily designed for which of the following purposes?

a)

Writing low-level system code

b)

Facilitating database management and reporting

c)

Creating graphical user interfaces

d)

Machine learning and artificial intelligence

6.

What is the main focus of fifth-generation programming languages (5GL)?

a)

Assembly language programming

b)

High-performance computing

c)

Artificial intelligence and problem-solving

d)

Web development and scripting

7.

Which of the following statements best describes Object-Oriented Programming (OOP)?

a)

OOP relies on procedural programming techniques.

b)

OOP emphasizes component reusability using objects that encapsulate data and procedures.

c)

OOP focuses solely on data manipulation without the use of objects.

d)

OOP is primarily concerned with memory management.

8.

In OOP, what is the role of objects?

a)

Objects are merely placeholders for memory storage.

b)

Objects are units of information that contain data and methods to process and manipulate that data.

c)

Objects can only represent numerical values.

d)

Objects are restricted to being static and unchangeable.

9.

What is a class in the context of Object-Oriented Programming?

a)

A set of instructions for performing calculations.

b)

A blueprint or template for creating objects.

c)

A collection of unrelated functions.

d)

A method of data encryption.

10.

What does inheritance allow in Object-Oriented Programming?

a)

It allows objects to be destroyed.

b)

It allows a subclass to inherit properties and methods from a parent class.

c)

It prevents methods from being overridden.

d)

It restricts subclasses from accessing the parent class.

11.

Give atleast 5 programming languages that you know.

4 lines