Q4 PGAS SDF 22-25 C1

Q4 PGAS SDF 22-25 C1

12th Grade

9 Qs

quiz-placeholder

Similar activities

CodeHS 5.3 Using Arrays

CodeHS 5.3 Using Arrays

9th - 12th Grade

11 Qs

Review for Fall Final

Review for Fall Final

10th - 12th Grade

14 Qs

Error Handling

Error Handling

12th Grade

10 Qs

Exception Handling

Exception Handling

11th - 12th Grade

11 Qs

Scratch Pen Quiz

Scratch Pen Quiz

KG - University

10 Qs

Legacy Coders

Legacy Coders

9th Grade - University

5 Qs

Scratch 2

Scratch 2

KG - University

10 Qs

JAVA PROGRAMMING

JAVA PROGRAMMING

10th Grade - Professional Development

10 Qs

Q4 PGAS SDF 22-25 C1

Q4 PGAS SDF 22-25 C1

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Rebecca Sims

Used 2+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

____________ is a programming technique that causes a method to call itself in order to compute a result.

Procedure

Recursion

Base

.NET

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _________________ framework supports standard exception handling to raise and handle runtime errors.

Procedure

Recursion

Base

.NET

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This is the part that specifies the terminating condition and doesn't call the method again.

base case

recursive case

method

procedure

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

this is the part that moves the algorithm toward the base case.

flex case

recursive case

method

procedure

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An ____________ is an error condition that occurs during the execution of a program.

error

instance

exception

alias

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To handle exceptions, place the code that throws the exception inside a _____________ and place the code that handles the exceptions inside a _______________.

catch block;

try block;

parameter;

function

function;

parameter

try block;

catch block

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the ExceptionTest method, it is ___________ to change the order of the two catch blocks.

okay

incorrect

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In order to avoid compilation errors, the more specific exceptions need to be listed where?

anywhere is fine

after the generic exceptions

before the generic exceptions

at the end

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The finally block is not always executed regardless of whether an exception is thrown.

true

false