Input, Processing, Output Quiz

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

The __________ function reads a piece of data that has been entered at the keyboard and returns that piece of data, as a string, back to the program.

input()

What is the output of the following command, given that value1 = 2.0 and value2 = 12? print(value1 * value2)

24.0

After the execution of the following statement, the variable price will reference the value __________. price = int(68.549)

68, ROUND DOWN

What is the output of the following print statement? print 'I\'m ready to begin'

I'm ready to begin

What is the output of the following print statement? print('The path is D:\\sample\\test.')

The path is D:\sample\test

In Python, print statements written on separate lines do not necessarily output on separate lines.

True

When using the camelCase naming convention, the first word of the variable name is written in lowercase and the first characters of all subsequent words are written in uppercase.

True

The line continuation character is a

\

After the execution of the following statement, the variable sold will reference the numeric literal value as (n) __________ data type. sold = 256.752

float

A(n) __________ is a name that represents a value stored in the computer's memory

variable Variable VARIABLE


Set pelajaran terkait

Teen Consent and Confidentiality

View Set

Українська екзамен

View Set

Pharmacology II Prep U Chapter 35: Hypothalamic and Pituitary Agents

View Set

Statistics for Business and Economics Ch4

View Set

Chapter 18: Drug Therapy With Beta-Lactam Antibacterial Agents

View Set

Personal Finance Chapter 6 - Consumer Purchasing Strategies and Wise Buying of Motor Vehicles

View Set

Chapter 1 Introduction to Computers and Programming

View Set

6-3 Starting a Small Business (2IBT)

View Set