Search Header Logo

PRG1 - Tuesday week 2 - starter

Authored by Steve Rich

Computers

University

Used 17+ times

PRG1 - Tuesday week 2 - starter
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the definition of a computer programming paradigm?

A style or way of thinking about and approaching programming problems
A specific programming language
A type of computer hardware
A method for creating computer graphics

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What programming paradigm does the language Haskell support?

Object-oriented programming
Procedural programming
Imperative programming
Functional programming

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is meant by an 'imperative' programming paradigm?

A style of programming where the programmer tells the computer what to do by giving it explicit instructions
A style of programming that focuses on describing the data structure

A style of programming that emphasises the evaluation of expressions

A style of programming that focuses on the interaction between objects

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these languages supports the declarative programming paradigm?

C++
Java
Python
SQL

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the definition of an Object Oriented paradigm?

A programming paradigm based on the concept of 'objects', which can contain data and code: data in the form of fields, and code, in the form of procedures
A programming paradigm that uses 'functions' to perform computations
A programming paradigm that is primarily concerned with data flow and transformations
A programming paradigm that emphasizes the use of simple, isolated functions

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a class (in relation to OOP)?

A class is a collection of functions.
A class is a data type in programming.
A class is a method in object-oriented programming.
A class is a blueprint for creating objects and defining their behavior.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the definition of encapsulation? (In relation to OOP)

Removing all restrictions on data access
Allowing access to all internal details
Hiding internal details and exposing necessary information or methods
Combining multiple classes into one

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?