1212 Midterm Review

Quiz
•
Computers
•
University
•
Easy
Danielle Pottinger
Used 10+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What is printed by the following statement?
s = "Python" s[3] = "X" print(s)
Python
PyXhon
["P", "y", "t", "h", "o", "n"]
Error will occur
2.
OPEN ENDED QUESTION
10 mins • 3 pts
A user wants to figure out how much their Chick-fil-A order will be given the lists and tax provided in the picture (click to enlarge). Complete the following:
1. Print out the last element of the cfa_prices list2. Write a program that calculates the total cost of a meal, including tax and tip, based on the cfa_menu and cfa_prices. The user will select a meal by entering an order number (1-4) and then provide a tip percentage. The program will compute and display the total price
Have an output that looks similar to the following:Example Output: "Item: Grilled Chicken Sandwich Meal --> Total: $10.87"
cfa_menu = ["Chicken Sandwich Meal", "Grilled Chicken Sandwich Meal", "Spicy Deluxe Meal", "8ct Nuggets Meal"]
cfa_prices = [9.99, 8.99, 10.99, 8.59]tax = 7
P.S It would be good practice to use Trinket as you will be using that workspace for the midterm
Evaluate responses using AI:
OFF
3.
MATCH QUESTION
1 min • 3 pts
Match the following flowchart symbols with their corresponding actions:
Start or End
Diamond
Process
Rectangle
Input/Output
Arrow
Decision
Oval
Flow Direction
Parallelogram
4.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Select the correct option to fix this code so it correctly adds an integer input by the user:
user_input = input("Enter a number: ")
print(user_input + 2)
str(user_input)
float(user_input)
len(user_input)
5.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Given the list my_list = [10, 20, 30, 40, 50]:
What is the first element?; What is the len(my_list)?
10; 5
20; 5
20; 4
10; 4
6.
MATCH QUESTION
1 min • 1 pt
Match the following computer components with their purpose
RAM
Temporarily stores data that the CPU needs to access quickly
I/O Devices
Executes specific tasks and provides services to users
Operating System
Manages computer resources and hardware
Software
Facilitates communication between user and computer (e.g., keyboard, monitor)
7.
OPEN ENDED QUESTION
2 mins • 5 pts
What is wrong with the following flowchart? (The intent is to print the temp is below freezing if 32 or less and print it is above freezing otherwise)
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz4

Quiz
•
University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
20 questions
JAVA Basics Quiz

Quiz
•
University
20 questions
Geeks for Geeks PCCOER Info Session CP Quiz

Quiz
•
University
15 questions
Python-loops, branches, functions

Quiz
•
University
15 questions
Round 4 - Harvest

Quiz
•
University
15 questions
AITT LAB QUIZ 1

Quiz
•
University
15 questions
Exploring Python Fundamentals

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University