Review 2023
Review 2023
Write an algorithm in Python that will give you a while loop that will
continue until someone answers the correct value
2. What is abstraction?
a. Provide an example of high level of abstraction and a low level of
abstraction
3. Of the following which are considered mobile devices:
a. Cell phone
b. PC
c. Laptop
d. Tablet
4. Define:
a. Scrum
b. Scrum master
c. User story
d. Backlog
e. Sprint task list
f. Stand up meeting
g. User Interface
h. API
i. Version control
j. Psuedocode
k. Event driven
5. Define and provide an example:
a. Function/Procedure
b. Call statement
c. Assignment operator
d. Parameter
e. Variable
f. Decision structure
g. Iteration
h. For loop
i. While loop
j. List
k. Concatenation
l. Local variable
m. Global variable
n. Modulus
o. Element
p. Index
q. Conditional statement
r. Relational operator
s. Logical operator
t. Accumulator
u. Class
v. Objects
w. Methods
x.
6. Explain each data type:
a. Integer
b. Float
c. String
d. Boolean
7. Why do we use procedures?
8. Explain the difference of waterfall design and agile development?
Which is better and why?
9. What is wrong and why?
age = int(input(“Enter your age: “))
months = age * 12
print(“you are “ + months + “ old”)
10. What is wrong and why:
def sum(a,b,c):
return a + b + c
print(sum(2,12))
11. What is sequencing and how does it affect and algorithm?
12. Review the following code: What is wrong with it and why?
total = 0
count = 0
for i in [ 10, 20, 30, 40, 50 ]:
total = count + 1
print("The value of i is:", i)