Quiz
python
Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.
Fragen in diesem Quiz (55)
1What is IL
- AInstruction List
- BInstruction Log
2A compiler is slower than an interpreter
- ATrue
- BFalse
3Is Python a compiled or interpreted language?
- ACompiled
- BInterpreted
4Which of these are parts of a compiler?
- ASyntax Analyzer
- BLexical Analyzer
- CInteractive Code Generator
- DCode Optimizer
5An interpreter takes:
- AAn entire program at a time
- Ba single line of code at a time
6How does execution occur in a compiler?
- Aafter compilation of the code
- Bsimultaneously
7Which languages are compiled?
- APERL
- BC
- CRUBY
- DC#
- EPHP
8Errors are displayed all at once in a compiler
- ATrue
- BFalse
9Is it possible for Python to be compiled?
- AYes
- BNo
10Which requires less memory?
- ACompiler
- BInterpreter
11Who was Python developed by?
- ARasmus Lerdorf
- BGuido Van Rossum
- CYukihiro "Matz" Matsumoto
12When was Python concieved?
- A1944
- B1955
- C1956
- D2006
13Which of the following are some cons of Python?
- ADebugging is harder
- BDifficult to install
- CNot a very good language for mobile development
- DSlower speed compared to other languages
- ENo database conectivity
- FLimited database access
14Which one of these is one of Python's rival languages?
- APerl
- BPHP
15Python 2 can run in a Python 3 enviroment and vice versa
- ATrue
- BFalse
16Why is Python 2 still in use even though it has been discontinued?
- AThere are too many existing Python 2 applications remaining to discard it altogether
- Blol
17Functions may come from one or more Python's add ons named?
- AModules
- BLibraries
18How many arguments does print need?
- Aone
- Bzero
- Cmore than one
19"function_name(argument)"
What syntax is this for?- AFunction invocation
- BDefining a functoin
20The print function returns a value
- ARichtig
- BFalsch
21Can Python contain more than one instructions in one line?
- AYes
- BNo
22Can we leave a line empty in Python?
- AYes
- BNo
23putting "print()" in the middle of a code
what will this output?- Anothing, the code wont change
- Ban empty line in the middle of the code
24Which backslash is called the escape character, the word escape means that series of characters in the strings escape for a moment to introduce a special conclusion
- A\
- B/
25Which is the newline character?
- A\n
- B/n
26What keyword arguments does the print function contain?
- Aend
- Bsep
- Csplit
27print("Hi i like cats", end="", sep="+")
what will this output?- AHi i like cats
- BHi+i+like+cats
28print(11 11 111 1111)
output?- A11 11 111 1111 as a string
- B11 11 111 1111 as an integer
- CAn Error
29We can use underscores (11_11_11) in number literals now to improve readability. In which version was this introduced?
- A3.2
- B2.6
- C3.6
- D3.4
30octal values take digits from?
- A0-18
- B0-8
- C0-16
- D0-7
31How do you define an octal value?
- A00
- B0O
- C0o
- DOO
32print(0X123)
- AA hexadecimal value
- BAn octal value
33Hexadecimal values take values from
- A0-17
- B0-16
- C0-15
343e8 is a float
- ARichtig
- BFalsch
35print("I like your cat'/s fur")
- AI like your cat's fur
- BI like your cat'/s fur
- CError
36x = true
print(x)- Atrue
- BTrue
- CError
37False = 0, therefore if x = False, x = 0?
- ARichtig
- BFalsch
382**3
- A6
- B8
- C4
392**4**2
- A33
- B65536
- C62
- D32
- E65504
4020*4.
- A80
- B80.0
- C80.00
412.0*5
- A10
- B10.0
42what is the sign for floor division?
- A\
- B/
- C\\
- D//
435/2
- A2.5
- B2.0
- C2
441/2.0
- A0
- B1.5
- C1.0
- D0.0
452/3*5+6+(2//1)
- A7.0
- B7.5
- C11
- D7
- E11.33
46Select all the reserved keywords in Python
- AFalse
- Bbreak
- Celif
- Dtrue
- ENone
47Do you need to declare variables before using them?
- AYes
- BNo
48var1 = 32
var1 /= 4.0
print(var1)- A8
- B6.0
- C8.0
49What symbol is used to add comments
- A/ enter text /
- B*** enter text ***
- C# enter text
50what does the str function do?
- Aconvert other data types to a string
- Bconvert a string to other data types
51Which operator is this? =
- Acomparison operator
- Bassignment operator
52which operator is this? ==
- Aassignment operator
- Bcomparison operator
53Which operators have the highest precedence?
- Aunary + -
- Bbinary + -
54Which operator here has the lowest precedence?
- A==
- B**
- C/
558 / 4 * 2
- A1
- B2
- C4
Informationen
- Beschreibung
- 2º de Bachillerato python Quiz am python, erstellt von Khudaija Siddiqui am 09/08/2021.
- Autor
- Khudaija Siddiqui
- Sprache
- English
- Aufrufe
- 0
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz