ITE3711 New

Beschreibung

IT114126 please search!!!
itso Lucypay
Quiz von itso Lucypay, aktualisiert vor 24 Tage
itso Lucypay
Erstellt von itso Lucypay vor etwa ein Monat
277
0

Zusammenfassung der Ressource

Frage 1

Frage
What is the result of 2 + 3 * 4 in Python?
Antworten
  • 12
  • 14
  • 20
  • 18

Frage 2

Frage
Which of the following is a valid variable name in Python?
Antworten
  • 1variable
  • my_variable
  • variable-1
  • var&ble

Frage 3

Frage
What will be the output of print("Hello" * 3) in Python?
Antworten
  • HelloHelloHello
  • 9
  • Hello 3 times
  • Rasengan

Frage 4

Frage
In Python, which statement is used to make a decision based on a condition?
Antworten
  • for
  • switch
  • if
  • mizu no ko kyuu ichi no kata mina mo giri

Frage 5

Frage
How do you define a function in Python?
Antworten
  • function myFunction():
  • define myFunction():
  • def myFunction():
  • func myFunction():

Frage 6

Frage
What is the correct way to call a function named my_function with two arguments in Python?
Antworten
  • call my_function()
  • function my_function()
  • my_function(arguments)
  • my_function(arg1, arg2)

Frage 7

Frage
What will the following code snippet output: 5 > 3 and 10 < 20?
Antworten
  • True
  • False
  • Error
  • san no kata ryuu ryuu mai

Frage 8

Frage
Which data type can not execute a calculation in Python?
Antworten
  • string
  • integer
  • float
  • all of above

Frage 9

Frage
What does the "return" statement do in a function?
Antworten
  • Terminates the function
  • Returns a value from the function
  • Prints a message
  • Skips the function

Frage 10

Frage
What is the result of range(7) in Python?
Antworten
  • 1,2,3,4,5,6
  • 0,1,2,3,4,5,6
  • 0,1,2,3,4,5,6,7
  • 1,2,3,4,5,6,7

Frage 11

Frage
Which of the following program segment (s) is an example of a compound(複合的) conditional statement in Python?
Antworten
  • if x > 5 or y < 10:
  • if x > 5 and y < 10:
  • if x > 5 then y < 10:
  • if x > 5

Frage 12

Frage
What is the output of print(3 == 3) in Python?
Antworten
  • True
  • False
  • 3
  • ( 0 ﹏ 0 )

Frage 13

Frage
What is the purpose of the not keyword in Python?
Antworten
  • Negates a boolean value
  • Performs bitwise NOT operation
  • Indicates a negative number
  • kakebunshin no jutsu

Frage 14

Frage
What will be the output of the following code snippet?
Antworten
  • 3
  • 3.5
  • 4
  • Error

Frage 15

Frage
What does the != operator signify in Python?
Antworten
  • Less than or equal to
  • Not equal to
  • Greater than or equal to
  • Assignment

Frage 16

Frage
What will be the output of the following code snippet?
Antworten
  • Out of range
  • In range
  • out of range
  • Zaphkiel Bet

Frage 17

Frage
What is the value of z after the execution of the following code snippet? def my_function(x, y): return x + y z = my_function(3, 4) * 2
Antworten
  • 14
  • 24
  • 7
  • 68

Frage 18

Frage
What is the value of z after the execution of the following code snippet?
Antworten
  • 86
  • 68
  • 14
  • error

Frage 19

Frage
What will be the output of the following code snippet?
Antworten
  • 55
  • "55"
  • "52"
  • 10

Frage 20

Frage
What will be the output of the following code snippet?
Antworten
  • 3.33333 3
  • 3 3.33333
  • error
  • 3 / 3 3 // 3

Frage 21

Frage
What is the result of True + True in Python?
Antworten
  • True
  • 2
  • False
  • Look at Move!! Faker!! What was that !!!

Frage 22

Frage
Are you ready for the test?

Frage 23

Frage
What will be the output of the following code snippet?
Antworten
  • 2 3
  • 2 2.66666
  • 8 3
  • 2.66666 2

Frage 24

Frage
What will be the output of the following code snippet?
Antworten
  • 2.5
  • 0.4
  • 2
  • 6

Frage 25

Frage
What is the value of the result variable in the following code snippet?
Antworten
  • 5
  • 10
  • 7
  • 52

Frage 26

Frage
What does the += operator do in Python?
Antworten
  • Subtracts the right operand from the left operand
  • Multiplies the left operand by the right operand
  • Adds the right operand to the left operand
  • None of the above

Frage 27

Frage
What will be the output of the following code snippet?
Antworten
  • "52"
  • 7
  • 52
  • 10

Frage 28

Frage
What is the result of (True or False and True) in Python?
Antworten
  • True
  • False
  • Error
  • None of the above

Frage 29

Frage
What does the // operator do in Python?
Antworten
  • Calculates the remainder
  • Performs floor division
  • Raises to the power
  • Ryōiki tenkai "Muryō kuusho"

Frage 30

Frage
the display output of print (f" Answer = { name } ") is equivalent to print ("Answer = name")
Antworten
  • True
  • False

Frage 31

Frage
Write a Python program segment to ask "the user to input their test mark" and store it in the test variable as a float type. The programme should ask the user a question "What is your test result? >" [blank_start]test[blank_end] = [blank_start]float([blank_end][blank_start]input([blank_end][blank_start]"What is your test result? >"[blank_end][blank_start]))[blank_end]
Antworten
  • test
  • text
  • float(
  • int(
  • str(
  • input(
  • output(
  • "What is your test result? >"
  • "What is your test result?"
  • "What is your text result? >"
  • "what is your text result? >"
  • "What is your text result?>"
  • ))

Frage 32

Frage
The Data type of variable "Future" is String SYNY = 1 Future = SYNY == "True"
Antworten
  • True
  • False

Frage 33

Frage
Which of the following variable names uses the snake case approach?
Antworten
  • 3711ModuleCode
  • SeeYouNextYear
  • HKIIT_Modules
  • if

Frage 34

Frage
Which of the following variable names uses the camel case approach?
Antworten
  • seeYouNextYear
  • HKIIT_Modules
  • 3711moduleCode
  • ____main____

Frage 35

Frage
Which of the following variable names uses the Pascal Case approach?
Antworten
  • See You Next Year
  • See_You_Next_Year
  • SeeYouNextYear
  • ifelse

Frage 36

Frage
What is the correct way to declare a variable in Python?
Antworten
  • create variable mark is 100;
  • x <- 100
  • dim Sum As Integer = "HarGow";
  • SeeYouNextYear = "Higher Diploma"

Frage 37

Frage
What is the value of the variable Result stored when the following Python segment is executed?
Antworten
  • I choose You Pikachu
  • only children need to choose
  • I choose You
  • only children need to choose Pikachu

Frage 38

Frage
Which of the following Python segments is/are able to execute the below function CallMe()?
Antworten
  • CallMe(21850000)
  • CallMe("Me","21800000")
  • callMe("Me","21800000")
  • CallMe("pizza",str(21800000))

Frage 39

Frage
Which of the following Python segments able to execute the provided function CallMe() and display the result 21850000 Call Me
Antworten
  • CallMe("21800000","Me")
  • CallMe(21850000,"Me")
  • print(CallMe("21800000","Me"))
  • print("21800000","Me")

Frage 40

Frage
Which operator is used to calculate reminders in Python?
Antworten
  • %>%
  • //
  • %
  • _(¦3」∠)_

Frage 41

Frage
Which of the following Python code is a correct answer to the following expression? Expression: 73% of 467
Antworten
  • 467 * 0.73
  • 467 // 0.73
  • 467 * 73%
  • 467 // 73/100

Frage 42

Frage
Which of the following is/are a software development stage?
Antworten
  • Planning
  • Analysis
  • Design
  • Implementation
  • Katon Goukakyuu no jutsu

Frage 43

Frage
What is the output of the following program segment? print(10*(3.7 + 2.3))
Antworten
  • 60
  • 60.0
  • "60.0"
  • えどてんせい

Frage 44

Frage
What is the displayed result of the Python program segment?
Antworten
  • GoodGood Bye
  • ========= ========= GoodGood Bye
  • ========= GoodGood Bye =========
  • ========= Jutsushiki jyunten "Ao", Jutsushiki hanten "Aka" =========

Frage 45

Frage
What is the python expression that can represent the following mathematics equation?
Antworten
  • (a + b) ** (5/2)
  • (a + b) ** (2/5)
  • (a + b) ^ (2/5)
  • (a + b) ^ (5/2)

Frage 46

Frage
Choose all of the following Python expression(s) that are possible to represent the displayed mathematics equation.
Antworten
  • (a + b) ** (2/5)
  • (a**2 + 2*a*b + b**2) ** (1/5)
  • ((a+b)(a+b)) ** (1/5)
  • (a + b) ** (5/2)
  • a ゚∀ ゚) ゚∀゚)b

Frage 47

Frage
What is the displayed result when the following Python code executed?
Antworten
  • GGWP WPGG
  • WPGG GGWP
  • Error
  • GGWP
  • WPGG

Frage 48

Frage
What will be the output of the following code segnment?
Antworten

Frage 49

Frage
What will be the output of the following code segment?
Antworten

Frage 50

Frage
What happens if a function in Python does not have a return statement?
Antworten
  • It returns None
  • It raises an error
  • The function does not execute
  • It returns the last expression evaluated

Frage 51

Frage
Identify the data type of the following variables.
Antworten
  • string
  • float
  • integer
  • float
  • boolean
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

CCNA Security 210-260 IINS - Exam 3
Mike M
Application of technology in learning
Jeff Wall
Innovative Uses of Technology
John Marttila
Ch1 - The nature of IT Projects
mauricio5509
The Internet
Gee_0599
CCNA Answers – CCNA Exam
Abdul Demir
SQL Quiz
R M
Professional, Legal, and Ethical Issues in Information Security
mfundo.falteni
System Analysis
R A
Flash Cards Networks
JJ Pro Wrestler
EDUC260- Multimodal Literacies for a Digital Age
angelwoo2002