
ComProg Midterm

Quiz
•
Information Technology (IT)
•
University
•
Easy
Joshua Abis
Used 6+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the starting index of an array in Python?
1
0
-1
Any number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes a one-dimensional array?
A list containing multiple lists
A standard linear list of values
A list containing three or more lists
A nested dictionary
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the third element in an array arr?
arr[2]
arr[3]
arr(3)
arr[-3]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct keyword for an if statement in Python?
when
if
check
cond
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is used for multiple conditions in decision-making?
elseif
elif
else-if
otherwise
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to prematurely stop a loop in Python?
stop
exit
break
halt
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The continue statement is used to:
End the program
Skip the rest of the loop and go to the next iteration
Repeat the loop forever
Exit the loop immediately
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Quiz sobre Programação em Python

Quiz
•
University
32 questions
Сессия Алгоритм 129-160 сурактар

Quiz
•
University
39 questions
8-кл-19

Quiz
•
8th Grade - University
35 questions
ASTS TIK 6 GENAP

Quiz
•
6th Grade - University
30 questions
Matplotlib MCQ Questions

Quiz
•
12th Grade - University
38 questions
Challenging Python Concepts

Quiz
•
University
30 questions
ทักษะคอมพิวเตอร์ในยุคดิจิทัล

Quiz
•
University
30 questions
Workshop ML

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University