
FYCS PYTHON QUIZ

Quiz
•
Other
•
University
•
Hard
FYCS05 Aarti Chavan
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type in Python is immutable?
List
Dictionary
Tuple
Set
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a dictionary in Python?
dict = {key1, key2, key3}
dict = [key1:value1, key2:value2]
dict = {key1:value1, key2:value2}
dict = (key1:value1, key2:value2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print("5" + "10")?
510
15
5 10
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a formal parameter in Python?
A variable used in the function call
A value passed to the function
A variable defined in the function definition
A built-in function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents an actual parameter?
Variable in the function header
Placeholder in the function body
Argument passed to the function when called
Function name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is correct about keyword arguments?
They are passed without any order.
They must be passed before positional arguments.
They are passed in the order defined in the function.
They allow skipping arguments while calling a function.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you pass a positional argument to a function?
By assigning it a value
By specifying the variable name
By providing it in order without naming
None of the above
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Repaso general

Quiz
•
University
25 questions
Keahlian DKV

Quiz
•
12th Grade - University
32 questions
Examen de Algoritmos y Programación

Quiz
•
University
32 questions
Quizz

Quiz
•
University
30 questions
Code Carrer 1st Year

Quiz
•
University
25 questions
UNIT - 1 A Compiler Concepts Quiz

Quiz
•
University
25 questions
Python Week 1

Quiz
•
University
30 questions
LEC Short Quiz # 2

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University