Basics Flashcards

1
Q

An output statement can be written as?

A

Put “item” to output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A string literal consists of?

A

Text (characters) within double quotes as in “Go #57!”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a new line?

A

A special two-character sequence, /n, whose appearance in an output string literal causes the cursor to move to the next output line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A Put to output must be inside?

A

“Quotes”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

To have a space after a Put what must you do?

A

Enter a space at the end of the Put statement, “Put ”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Given variable numCars = 9, what statement outputs 9?

A

Put numCars to output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Put “salary” to output is equal to wage = ____ ____ ____

A

Get next input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly