
IT 403 - Quiz 1

Quiz
•
Information Technology (IT)
•
University
•
Hard
Mark Jesus
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Java Quiz in tamil theme by jamal

Quiz
•
University
20 questions
Q1 Role and Skill of System Analyst & Key Skills_Quiz 1

Quiz
•
University
20 questions
ทดสอบก่อนเรียนUnit1

Quiz
•
University
20 questions
Understanding Selection Structures

Quiz
•
University
20 questions
Quiz tentang Google Colab

Quiz
•
10th Grade - University
20 questions
ByteTheSnake

Quiz
•
University
26 questions
asd 17 maret

Quiz
•
University
20 questions
10° TIC Preguntas sobre Software de Desarrollo #2

Quiz
•
10th Grade - 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