
IT 403 - Quiz 1
Authored by Mark Jesus
Information Technology (IT)
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In Python, the expression 0.1 + 0.2 == 0.3 evaluates to False due to floating-point precision issues, and this can be solved by using a small tolerance value for comparison.
True
False
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When using the input() function in Python, if a user enters the number 42, the function returns an integer value that can be directly used in mathematical operations.
True
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In Python, the statement x = y = z = 10 creates three separate objects in memory, each containing the value 10.
True
False
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The continue statement in a nested loop will exit both the inner and outer loops and continue with the code after the outer loop.
True
False
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
List slicing in Python never raises an IndexError, even when indices are out of bounds, but direct indexing (like list[10] on a 5-element list) will raise an error.
True
False
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A developer needs to store a file path on Windows. Which approach is most appropriate?
A. path = "C:\Users\Documents\file.txt"
B. path = "C:\\Users\\Documents\\file.txt"
C. path = "C:/Users/Documents/file.txt"
Both B and C are equally appropriate
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the primary reason Python uses indentation instead of braces for code blocks?
To reduce file size
To enforce readable code structure
To make the interpreter faster
To prevent syntax errors
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Python
Quiz
•
University
21 questions
Quiz tentang App Inventor
Quiz
•
11th Grade - University
20 questions
2F-1 | Python Quiz | 14/10/2024
Quiz
•
University
20 questions
Learn Database with ARJ
Quiz
•
University
20 questions
MGT334_OS Basics Questions
Quiz
•
University
20 questions
OSS (QUIZ 7) Input/Output Systems
Quiz
•
University
20 questions
SOFTWARE ENGINEERING
Quiz
•
University
20 questions
Q4. Conducting Ethical Research
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University