NEW
Font size
WorksheetsMay piscine 2nd quiz
Total questions: 12
Worksheet time: 6mins
What does this code print?
Hello + World
HelloWorld
Hello World
Error
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
What is the main teaching method used at 42 Abu Dhabi?
Peer-to-peer learning
Teacher-led sessions
Lectures and textbooks
Online video tutorials
In python how do you create a variable with the value 5?
x <- 5
x = 5
x := 5
int x = 5
Which of these is a string?
None
True
42
"Hello"
Which command is used to move a file?
mv
cd
go
cp
ℹ️ len() is a function that returns the number of characters in a string.
What will this code output?
Error
5
6
3
Which symbol is used for multiplication in Python?
^
*
x
%
How do you display the current working directory?
dir
pwd
whereami
path
Which command is used to list the files in the current directory?
cd
list
ls
show
I am learning
I am learning Python
Python
text
I am learning
