Takeshi's Castle Code bingo
Quiz
•
Computers
•
University
•
Medium
Chirag Jain
Used 3+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
1) Shaan, Naira, and Aarush are planning a party and want to calculate the total expenses using one function. Choose the correct function declaration of fun() so that they can calculate the total expenses successfully
def fun(**kwargs)
def fun(args*)
def fun(*data)
No, it is not possible in Python
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
2) Which Java method is correct in finding the factorial of a number?
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
3) What is the output of the following scenario?
Aashi, Divya, and Eshaan are working on a project. They are trying to replace all the instances of "a" with 12. They have implemented this line of code:
'VTaPp_TaKeshI_cODe_CAstlE'.replace('a', '12')
What will be the final code after the replacement?
VT12Pp_TaKeshI_cODe_CAstlE
VT12Pp_T12KeshI_cODe_C12stle
VTaPp_TaKeshI_cODe_C12stle
VT12Pp_T12KeshI_cODe_CAstlE
4.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
4) Shreya, Kavya, and Ishika are working on a project and have created a data frame in Python. Which commands return the columns of the data frame?
df=pandas.DataFrame(data,columns=["column_1","column_2"])
df.column_1
df."column_1"
df["column_1"]
df[column_1]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5) In a classroom, Mira is solving a programming problem. Find the correct output of the program given in the picture
25
22
23
24
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
6) Which statements are correct regarding the file access modes in Python?
The ‘r+’ mode opens a file for both reading and writing. The file object points to its beginning.
The ‘w+’ mode opens a file for both writing and reading. Overwrites the existing file if it exists and creates a new one
if it does not exist.
The ‘wb’ mode opens a file for writing in binary format. Overwrites the file if it exists and creates a new one if it
does not exist.
The ‘a’ mode opens a file for appending. The file pointer is at the end of the file if the file exists
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7) Identify the command to fit the logic of the python program
lambda x: x ** 2
lambda x: x * *x
lambda x: x ^ 2
lambda x: pow(2, x)
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Day 6 - ONLINE TEST - PL03 PYTHON PROGRAMMING
Quiz
•
University
25 questions
Introduction to Python
Quiz
•
KG - University
20 questions
Word Processing Lesson 1 and 2 Review
Quiz
•
KG - University
20 questions
Digital Imaging and Design C3 -electronic images
Quiz
•
9th Grade - University
20 questions
Ch.8 - Introducing Python
Quiz
•
6th Grade - Professio...
20 questions
ASK T2 - Kod Arahan (Python)
Quiz
•
7th Grade - University
20 questions
2. Ayo Main Quiz Lagi
Quiz
•
University - Professi...
20 questions
Blender: The Beginning
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
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
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University