Search Header Logo

Programming Paradigms Quiz

Authored by Guruswaminathan J

Information Technology (IT)

University

Used 2+ times

Programming Paradigms Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement best describes a programming paradigm?

A syntax rule of a language

A style or approach to programming

A compiler error type

A debugging method

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The elements of a programming language include:

Syntax, semantics, and pragmatics

Compiler, linker, and loader

Loops, variables, and arrays

CPU, memory, and I/O devices

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Bohm-Jacopini theorem states that any program can be built using:

Recursion only

Sequence, selection, and iteration

Classes and objects

Machine code only

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which paradigm uses facts and rules as its primary building blocks?

Procedural

Functional

Logic

Parallel

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Machine code is:

A set of human-readable instructions

Binary code executed by the CPU

A high-level programming language

A pseudocode representation

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Object-Oriented Programming, data and functions are grouped together as:

Modules

Arrays

Objects

Loops

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of the imperative paradigm?

SQL query

Java method with loops

Prolog rule

Haskell pure function

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?