
May piscine 2nd quiz
Authored by Hasan Saleh
Other
12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code print?
Hello + World
HelloWorld
Hello World
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the command touch notes.txt do?
Hides the file notes.txt
Creates an empty file called notes.txt
Opens the file notes.txt
Deletes the file notes.txt
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main teaching method used at 42 Abu Dhabi?
Peer-to-peer learning
Teacher-led sessions
Lectures and textbooks
Online video tutorials
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In python how do you create a variable with the value 5?
x <- 5
x = 5
x := 5
int x = 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a string?
None
True
42
"Hello"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to move a file?
mv
cd
go
cp
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ℹ️ len() is a function that returns the number of characters in a string.
What will this code output?
Error
5
6
3
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?