Search Header Logo

CPROG 1 | Long Quiz - MIDTERMS

Authored by WILLIAM MALABANAN

Others

University

Used 1+ times

CPROG 1 | Long Quiz - MIDTERMS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which term describes a solution that can be expressed as a finite, logically arranged sequence of steps?

Algorithmic solution

Heuristic solution

Iterative solution

Randomized solution

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A heuristic solution is best described as:

Based on finite steps only

Based on rules of thumb and past experience

Guaranteed to be optimal

Independent of human judgment

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the correct order of the general problem‑solving steps?

Identify alternatives → Identify problem → Evaluate → Select best → List instructions → Understand

Identify problem → Understand → Identify alternatives → Select best → List instructions → Evaluate

Understand → Evaluate → List instructions → Identify problem → Select best → Identify alternatives

Select best → Identify alternatives → Evaluate → List instructions → Understand → Identify problem

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the programming process, which phase includes 'Analysis and Specification' and 'General Solution'?

Implementation phase

Maintenance phase

Problem‑solving phase

Testing phase

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which pair belongs to the Implementation phase?

Verify and Use

Translate algorithm into code and Test

Analysis and Specification

Maintain and Modify

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which property of algorithms requires that execution finishes after a bounded number of operations?

Effectiveness

Finiteness

Scope definition

Input/Output definition

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which pseudocode convention is recommended in the lessons?

End statements with semicolons

Use punctuation to terminate lines

Every program starts with START and ends with STOP

Combine multiple actions in one line if short

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?