Exploring Programming Paradigms and Languages

Exploring Programming Paradigms and Languages

Assessment

Quiz

Education

University

Hard

Created by

durga p

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a programming paradigm?

A programming paradigm is a method for debugging code.

A programming paradigm is a style or approach to programming that defines how code is structured and executed.

A programming paradigm is a type of programming language.

A programming paradigm is a specific programming tool.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which programming paradigm focuses on the use of functions?

Procedural programming

Object-oriented programming

Functional programming

Declarative programming

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main characteristic of object-oriented programming?

Use of global variables for data storage.

Inheritance of properties from a parent class.

Sequential execution of code without objects.

Encapsulation of data and behavior in objects.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you name a language that is primarily functional?

Haskell

C++

Java

Python

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What paradigm is associated with the concept of 'state' and 'behavior'?

Functional Programming

Object-Oriented Programming (OOP)

Procedural Programming

Declarative Programming

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which programming language is known for its support of multiple paradigms?

Java

Python

Ruby

C++

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between compiled and interpreted languages?

Compiled languages are executed line-by-line at runtime, while interpreted languages are pre-compiled to machine code.

Compiled languages require an interpreter to run, while interpreted languages do not.

Compiled languages are pre-compiled to machine code, while interpreted languages are executed line-by-line at runtime.

Interpreted languages are faster than compiled languages due to their runtime execution.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?