Final Exam Flashcards

1
Q

What does ASDIDM stand for?

A

Analyze, Specify, Design, Integrate, Debug, and Maintain

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

By default computers display information to the computer screen, when talking about output, the screen is often referred to as…

A

Standard output

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

What are a variable’s 3 components?

A

identifier, value, data type

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

A variable is a memory location with an associated…

A

Identifier

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

What must be included in an input statement if you want to be able to perform calculations on the input value?

A

Float

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

What are operators?

A

Symbols that can be evaluated by the computer

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

What are operands?

A

Values that can be evaluated by the computer

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

A Boolean Expression means…

A

True/False

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

What operators allow us to make comparisons?

A

Relational Operators

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

What is a boolean expression that involves the answer to more than one question?

A

Compound Conditional Statement

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

What is the name of the statement that allows for the repetition of an instruction or group of instructions?

A

Loop

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

4 parts of the loop

A

Initialization, Loop Control, Body, Update

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

What is the reserved word that indicates a loop?

A

While

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

What is a string?

A

Made up of a sequence of characters

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

What is the plan for solving a problem called?

A

Algorithm

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

Match the arithmetic operator to the correct function: A. +, B. -, C. *, D. /, E. **, F. %, G. //
1. Multiplication
2. Exponents
3. Subtraction
4. Addition
5. Floor Division (Rounds the result down)
6. Remainders
7. Division

A

C, E, B, A, G, F, D

17
Q

What is it called when the decimal is ignored in a problem?

A

Truncation

18
Q

Name the function call, return value, and argument(s) of this statement:
numberOfChar = len(stringIdentifier)

A

Function call - len
Argument - stringIdentifier
Return Value - numberofChar

19
Q

What is the general syntax for a function call that does not return a value?

A

nameOfFunction(Argument(s))

20
Q

What is the idea that you can use something without understanding it called?

A

Abstraction

21
Q

What is a linear collection of like-typed items called?

A

A list

22
Q

What does the append function do?

A

Adds an item onto the end of a list

23
Q

What does the insert function do?

A

Adds a value to a specified position in the list

24
Q

What is the general syntax of the append function?

A

listIdentifier.append(newValue)

25
Q

What is the general syntax of the insert function?

A

listIdentifier.insert(position, newValue)

26
Q

What is the general syntax of the delete function?

A

del(listIdentifier[position])

27
Q

What is the general syntax of the modify function?

A

listIdentifier[position] = newValue

28
Q

What is the general syntax of the sort function?

A

listIdentifier.sort()

29
Q

What is a repetitive process that applies a sequence of steps to each item in the list collection called?

A

Iteration