stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Computer Science, programming concepts Flashcards | StudBud
Explore
/
Computer Science, programming concepts
NOT a type of iteration...
Selection is ...
Computer Science, programming concepts
22 terms
·
StudBud Administration
·
17 plays
important concepts, techniques and key terminology
Flashcards
22 cards
F
Practice quiz
P
Host live
L
Questions
22
Answers
1
Selection is ...
If...Else...Then
If...Then...Elif
If...Then...Else
Sausages
2
NOT a type of iteration...
Repeat
Break
While
For
3
Run Time Error...
Computer can't carry out the instruction
Grammar mistake in the language
sausages
Output is different than expected
4
dividing a number by zero is a...
Logic error
Run Time error
Syntax error
Sausages
5
integer or string? 01423 568735
Integer
String
6
NOT an integer
10.0
25.6
12
36
7
A program is simply...
an algorithm
lots of decisions
a set of instructions
a flow chart
8
the correct term for a program design is
Al Gore Rhythm
Algorthym
Algorehythm
Algorithm
9
A function...
Doesn't return a value
Should return a value
Must return a value
Can return a value
10
Logic errors...
Sausages
A grammar mistake in the language
Output is not as expected
Computer cant carry out the instruction
11
In Python...secsInMinute = 60
assigning a value to a variable
assigning a value to a list
assigning a value to a function
assigning a value to constant
12
Code in the wrong sequence is
Syntax error
Run Time error
Logic error
Sausages
13
carMakers=["Toyota","Ford","VW","Subaru","Jaguar","Porsche"]
Ford in position [2]
Ford in position [3]
Ford in position [1]
Ford in position [0]
14
Syntax errors...
Grammar mistakes in the language
sausages
Output is unexpected
Computer cant carry out the instruction
15
The BEST definition of a variable...
A container which holds a value
A named container which hols a value which can vary
A container of information
A bucket of data
16
A data structure which holds more than one value...
A function
A dictionary
A variable
An array
17
Algorithms have to have...
Variables
A start and an end
A decision
A loop
18
Boolean Operators...
OR, AND, NOT
Functions
Parameters
greater than, less than, equal to
19
3 fundamental control structures are
Sequence, Selection, Procedures
Sequence, Arrays, Iteration
Functions, Selection, Iteration
Sequence, Selection, Iteration
20
Missing parenthesis...
Run Time error
Sausages
Syntax error
Logic error
21
The one which doesn't work...
print ("Hello World")
Print ("Hello World")
print ("Hello World");
print ("Hell World")
22
A sac of pork meat, fat, cereal and seasoning
Sausage
Kebab
Haggis
Burger