Review-Paper 1

Review-Paper 1

12th Grade

14 Qs

quiz-placeholder

Similar activities

TECH QUEST QUIZ

TECH QUEST QUIZ

4th Grade - University

15 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

Programming Paradigms

Programming Paradigms

12th Grade

10 Qs

Quiz on Introduction to Programming with Python

Quiz on Introduction to Programming with Python

9th - 12th Grade

9 Qs

Memory Management - Paging & segmentation

Memory Management - Paging & segmentation

12th Grade - University

15 Qs

Computer Science

Computer Science

9th - 12th Grade

18 Qs

BTEC National ICT U2 - Database Theory Lesson 1-3

BTEC National ICT U2 - Database Theory Lesson 1-3

12th Grade

10 Qs

python intro

python intro

4th - 12th Grade

17 Qs

Review-Paper 1

Review-Paper 1

Assessment

Quiz

Computers

12th Grade

Hard

Created by

JOCELYN GAMO

Used 3+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

20 sec • 3 pts

The games club is looking at two programming paradigms: imperative and object-oriented programming paradigms. Describe what is meant by the imperative programming paradigm. Choose three

A sequence of steps that change the state of the program

Creates classes

Subclasses can inherit from superclasses (child and parent)

Groups code into self-contained blocks // split the program into modules

The steps are in the order they should be carried out

2.

MULTIPLE SELECT QUESTION

20 sec • 2 pts

The games club is looking at two programming paradigms: imperative and object-oriented programming paradigms. Describe what is meant by the Object-Oriented programming paradigm. Choose two

A sequence of steps that change the state of the program

Creates classes

Subclasses can inherit from superclasses (child and parent)

Groups code into self-contained blocks // split the program into modules

The steps are in the order they should be carried out

3.

MULTIPLE SELECT QUESTION

20 sec • 3 pts

Some algorithms can be written using recursion. State three features of recursion.

It is defined in terms of itself // it calls itself

It can return data to its previous call

When the stopping condition/base case is met

…the last set of values are taken off the stack (in reverse order)

It is a self-contained subroutine

4.

MULTIPLE SELECT QUESTION

20 sec • 2 pts

Some algorithms can be written using recursion. Explain what a compiler has to do to implement recursion. Choose two.

It is defined in terms of itself // it calls itself

It can return data to its previous call

When the stopping condition/base case is met

…the last set of values are taken off the stack (in reverse order)

It is a self-contained subroutine

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify the programming paradigm for each of these program code examples.

male(john).

female(ethel).

parent(john, ethel).

Declarative

Low-level / assembly

Object oriented / (OOP)

Procedural / imperative

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify the programming paradigm for each of these program code examples.

FOR Counter = 1 TO 20

X = X * Counter

NEXT Counter

Declarative

Low-level / assembly

Object oriented / (OOP)

Procedural / imperative

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify the programming paradigm for each of these program code examples.

Start: LDD Counter

INC ACC

STO Counter

Declarative

Low-level / assembly

Object oriented / (OOP)

Procedural / imperative

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?