Search Header Logo

Theory of Computation

Authored by P Upstone-Bailey

Computers

11th Grade

Used 3+ times

Theory of Computation
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a key characteristic of an algorithm?

It is always implemented in a high-level programming language

It is a specific sequence of steps that can be followed to complete a task and always terminates

It is a graphical representation of the logic of a program

It is a computer program in its own right

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abstraction by generalisation or categorisation is best described as:

Removing all details of an object that do not contribute to its essential characteristics

A representation arrived at by removing unnecessary details

Grouping by common characteristics to arrive at a hierarchical relationship of the 'is a kind of' type

Representing a computational method

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of problem decomposition?

To combine procedures to form compound procedures

To hide the particular computation method

To break a problem into a number of sub-problems, each accomplishing an identifiable task

To remove details until the problem reduces to one that has already been solved

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

According to the sources, what is required for automation to solve problems?

Primarily just implementing models in data structures

Solely creating and implementing algorithms in program code

Putting models (abstractions of real-world objects/phenomena) into action by creating algorithms, implementing them in code, implementing models in data structures, and executing the code

Simply executing pre-existing program code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a regular expression primarily used for, according to the sources?

To define the syntax of a programming language unambiguously

To model the behaviour of sequential logic circuits

To describe a set and allow particular types of languages to be described in a convenient shorthand notation

To compare the time and space efficiency of different algorithms

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best explains why BNF can represent some languages that cannot be represented using regular expressions?

a) BNF uses graphical representations called syntax diagrams, which are more powerful than regular expressions

b) BNF can define terminal symbols, which regular expressions cannot

c) BNF allows for recursion in its definitions, enabling the representation of nested structures that regular expressions cannot handle

d) BNF focuses on describing the meaning of language constructs, while regular expressions only focus on patterns

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When comparing the complexity of algorithms, what is the key factor to consider?

The number of lines of code in the algorithm

The specific programming language in which the algorithm is implemented

How the algorithm's resource requirements (time or space) grow relative to the size of the problem

The actual implementation of the algorithm

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?