Exas 2 chapter5

Exas 2 chapter5

University

15 Qs

quiz-placeholder

Similar activities

football of world

football of world

1st Grade - University

13 Qs

Anime 99

Anime 99

9th Grade - Professional Development

13 Qs

EMBEDDED SYSTEM DESIGN

EMBEDDED SYSTEM DESIGN

University

20 Qs

QUIZ TPHTP 5 - Pengolahan Teh Hitam

QUIZ TPHTP 5 - Pengolahan Teh Hitam

University

10 Qs

K-POP #ICTA-PRISKA

K-POP #ICTA-PRISKA

1st Grade - University

10 Qs

Induccion HOME TV

Induccion HOME TV

University

18 Qs

Principal of marketing chapter 2

Principal of marketing chapter 2

University

20 Qs

Mobile Communication

Mobile Communication

University

10 Qs

Exas 2 chapter5

Exas 2 chapter5

Assessment

Quiz

Other

University

Practice Problem

Medium

Created by

Michelle Solorzano

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of error prevents a program from compiling a running?

Exceptional

Syntax

Runtime

Logic

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tupe of error throws an execption that stops execution of the program?

Exceptional

Syntax

Runtime

Logic

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a common type of syntax error?

Forgetting a colon

Forgetting to close a parenthesis

Invalid varible name

Improper indention

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you plan the test runs for a program, you should do all but one of the following. Which one is it?

List the valid entries for each test run

List the invalid entiries and unexpected user actions for each test run

List the ecpected exceptions for each test run

List the expected results for each test run

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you trace the execution for a program, you insert print() function at key points in the program. It makes sense for these fucntions to do all but one of the following. Which one is it?

display the name of the function that the print() function is in

display the values of the local variables in the function

display the values of the global constast used by the function

display the values of the global variables used by the function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT true about top-down coding and testing?

You start with just a few functions and the code in the main() function that calls thoes functions

You add the code for a few functions at a time, including the code in the mian() fucntiuons that calls thoes functions

You should always start by coding and testing the most difficult function

Top-down testing makes debugging easier because you know that any error are caused by the code you've just added

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To test the function of a MODULE from the IDLE shell, you

run the module with varying input values

runs the module and then call any function from the IDLE shell

import the module and then call any function from the IDLE shell

call any function in the module by using the default namespace

Create a free account and access millions of resources

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?