Introduction Flashcards

(41 cards)

1
Q

How many instructions can a computer program execute at a time?

A

One

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

What is input?

A

How the program gets data. ie. keyboard or touchscreen.

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

What is output?

A

How the program sends out the data. ie. screen, file, network.

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

What is process?

A

When a programs performs computations on data.

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

What is an algorithm?

A

A sequences of instructions that solve a problem.

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

What is a flowchart?

A

graphical language for creating an viewing computer programs.

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

What is a program?

A

A list of statements.

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

What do statements do in programs?

A

Carry out an action one at a time.

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

What is a string literal?

A

input or output statement consisting of characters in double quotes. “Go #57”

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

What ae characters?

A

Letters, numbers and symbols

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

How is newline represented?

A

/n

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

What does /n do?

A

Cause the output to move to the next output line.

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

Is /n able to be seen in the output?

A

No it is invisible.

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

is a space from hitting the spacebar considered a character?

A

yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
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
16
Q

Put “To be” to output
Put “or not to be” to output
how will this display and why.

A

To beor not to be, there is no space between be and or because the space was not input between the quotes.

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

What is a comment?

A

Is text meant to be read by a person, but is ignored by the program.

18
Q

In coral what characters does a comment start with?

19
Q

What line must a comment be on?

A

it’s own line

20
Q

Can multiple comments be listed below one another
Example:
//statement
//other statement

21
Q

What is whitespace?

A

refers to blank space between items within a statement. Helps people with reading information but is ignored by execution program.

22
Q

In binary what does 1 mean?

A

Current flowing (on)

23
Q

In binary what does 0 mean?

A

Current is not flowing (off)

24
Q

What is an embedded computer?

A

A computer inside another device.

25
What do you call a single 0 or 1?
A bit
26
What do you call 8 bits?
a byte
27
What is ASCII
a popular code for characters
28
bits are stored using what?
transistors
29
Are the same letters in upper and lower case the same binary code?
no
30
How many codes for characters doe ASCII have?
128
31
How many codes per character does Unicode have?
100,000
32
explain binary calculations.
bits can only represent 0 and 1. They are weighted by both numbers meaning 2. Imagine 8 bits going right to left, each of those bits are 2 to the ____ power. Starting with the first being 2 to the zero power all the way to two to the seventh power. If all eight of those bits show zero the number they all represent is zero. If they all represent 1 the highest number represented will by 255.
33
What does ASCII stand for?
American Standard Code for Information Interchange.
34
What is the smallest piece of digital data?
A single bit (0 or 1)
35
Define problem solving.
Creating a solution to a task.
36
Define computational thinking.
building process, logical programs.
37
What is whitespace when discussing coding?
A new line or blank space.
38
Psuedocode
Is coding language that resembles actual code but is simplified to aid human understanding.
39
Define code?
a program that is written in text.
40
How would "Hello World" be expressed in a statement?
Put "Hello World" to output
41
How would the bellow information be written as a statement? No Parking 1:00 - 5:00 a.m.
Put "(double space) No Parking\n" to output Put "1:00 - 5:00 a.m." to output