Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Which of the following format statements will create a Traceback errors? a. '%d %s %g' %(3, 4, 5) b. '%d %s %g' %(3 ,

1. Which of the following format statements will create a "Traceback" errors?

a. '%d %s %g' %(3, 4, 5)

b. '%d %s %g' %(3 , '4', 5)

c. '%g %g %d' %(3, 4.0, 5)

d. '%s %g %d' %(3, '4.0',5)

2. What is the name of variable which controls execution of the loop, when to continue or stop?

a. definite variable

b. indefinite variable

c. iteration variable

d. loop variable

3. Which of the following statements is not true for Python programming language?

a. variable names are case sensitive

b. Reserved words can be used for variable names

c. string variables cannot be converted to integers

d. "if" statement doesn't need an "else" statement to work

4. A 'for" loop is good for

a. making choices in a program

b. running lines of program code for a predictable number of times

c. for counting

d. for conditional execution of the program

5. Which one of the following computer component will retain data after computer power is turned off?

a. Central Processing Unit

b. Memory Cache

c. L1 Cache

d. Secondary Memory

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions