ITE3711 New

Descrição

IT114126 please search!!!
itso Lucypay
Quiz por itso Lucypay, atualizado aproximadamente 12 horas atrás
itso Lucypay
Criado por itso Lucypay aproximadamente 1 mês atrás
279
0

Resumo de Recurso

Questão 1

Questão
What is the result of 2 + 3 * 4 in Python?
Responda
  • 12
  • 14
  • 20
  • 18

Questão 2

Questão
Which of the following is a valid variable name in Python?
Responda
  • 1variable
  • my_variable
  • variable-1
  • var&ble

Questão 3

Questão
What will be the output of print("Hello" * 3) in Python?
Responda
  • HelloHelloHello
  • 9
  • Hello 3 times
  • Rasengan

Questão 4

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

Questão 5

Questão
How do you define a function in Python?
Responda
  • function myFunction():
  • define myFunction():
  • def myFunction():
  • func myFunction():

Questão 6

Questão
What is the correct way to call a function named my_function with two arguments in Python?
Responda
  • call my_function()
  • function my_function()
  • my_function(arguments)
  • my_function(arg1, arg2)

Questão 7

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

Questão 8

Questão
Which data type can not execute a calculation in Python?
Responda
  • string
  • integer
  • float
  • all of above

Questão 9

Questão
What does the "return" statement do in a function?
Responda
  • Terminates the function
  • Returns a value from the function
  • Prints a message
  • Skips the function

Questão 10

Questão
What is the result of range(7) in Python?
Responda
  • 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

Questão 11

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

Questão 12

Questão
What is the output of print(3 == 3) in Python?
Responda
  • True
  • False
  • 3
  • ( 0 ﹏ 0 )

Questão 13

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

Questão 14

Questão
What will be the output of the following code snippet?
Responda
  • 3
  • 3.5
  • 4
  • Error

Questão 15

Questão
What does the != operator signify in Python?
Responda
  • Less than or equal to
  • Not equal to
  • Greater than or equal to
  • Assignment

Questão 16

Questão
What will be the output of the following code snippet?
Responda
  • Out of range
  • In range
  • out of range
  • Zaphkiel Bet

Questão 17

Questão
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
Responda
  • 14
  • 24
  • 7
  • 68

Questão 18

Questão
What is the value of z after the execution of the following code snippet?
Responda
  • 86
  • 68
  • 14
  • error

Questão 19

Questão
What will be the output of the following code snippet?
Responda
  • 55
  • "55"
  • "52"
  • 10

Questão 20

Questão
What will be the output of the following code snippet?
Responda
  • 3.33333 3
  • 3 3.33333
  • error
  • 3 / 3 3 // 3

Questão 21

Questão
What is the result of True + True in Python?
Responda
  • True
  • 2
  • False
  • Look at Move!! Faker!! What was that !!!

Questão 22

Questão
Are you ready for the test?

Questão 23

Questão
What will be the output of the following code snippet?
Responda
  • 2 3
  • 2 2.66666
  • 8 3
  • 2.66666 2

Questão 24

Questão
What will be the output of the following code snippet?
Responda
  • 2.5
  • 0.4
  • 2
  • 6

Questão 25

Questão
What is the value of the result variable in the following code snippet?
Responda
  • 5
  • 10
  • 7
  • 52

Questão 26

Questão
What does the += operator do in Python?
Responda
  • 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

Questão 27

Questão
What will be the output of the following code snippet?
Responda
  • "52"
  • 7
  • 52
  • 10

Questão 28

Questão
What is the result of (True or False and True) in Python?
Responda
  • True
  • False
  • Error
  • None of the above

Questão 29

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

Questão 30

Questão
the display output of print (f" Answer = { name } ") is equivalent to print ("Answer = name")
Responda
  • True
  • False

Questão 31

Questão
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]
Responda
  • 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?>"
  • ))

Questão 32

Questão
The Data type of variable "Future" is String SYNY = 1 Future = SYNY == "True"
Responda
  • True
  • False

Questão 33

Questão
Which of the following variable names uses the snake case approach?
Responda
  • 3711ModuleCode
  • SeeYouNextYear
  • HKIIT_Modules
  • if

Questão 34

Questão
Which of the following variable names uses the camel case approach?
Responda
  • seeYouNextYear
  • HKIIT_Modules
  • 3711moduleCode
  • ____main____

Questão 35

Questão
Which of the following variable names uses the Pascal Case approach?
Responda
  • See You Next Year
  • See_You_Next_Year
  • SeeYouNextYear
  • ifelse

Questão 36

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

Questão 37

Questão
What is the value of the variable Result stored when the following Python segment is executed?
Responda
  • I choose You Pikachu
  • only children need to choose
  • I choose You
  • only children need to choose Pikachu

Questão 38

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

Questão 39

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

Questão 40

Questão
Which operator is used to calculate reminders in Python?
Responda
  • %>%
  • //
  • %
  • _(¦3」∠)_

Questão 41

Questão
Which of the following Python code is a correct answer to the following expression? Expression: 73% of 467
Responda
  • 467 * 0.73
  • 467 // 0.73
  • 467 * 73%
  • 467 // 73/100

Questão 42

Questão
Which of the following is/are a software development stage?
Responda
  • Planning
  • Analysis
  • Design
  • Implementation
  • Katon Goukakyuu no jutsu

Questão 43

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

Questão 44

Questão
What is the displayed result of the Python program segment?
Responda
  • GoodGood Bye
  • ========= ========= GoodGood Bye
  • ========= GoodGood Bye =========
  • ========= Jutsushiki jyunten "Ao", Jutsushiki hanten "Aka" =========

Questão 45

Questão
What is the python expression that can represent the following mathematics equation?
Responda
  • (a + b) ** (5/2)
  • (a + b) ** (2/5)
  • (a + b) ^ (2/5)
  • (a + b) ^ (5/2)

Questão 46

Questão
Choose all of the following Python expression(s) that are possible to represent the displayed mathematics equation.
Responda
  • (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

Questão 47

Questão
What is the displayed result when the following Python code executed?
Responda
  • GGWP WPGG
  • WPGG GGWP
  • Error
  • GGWP
  • WPGG

Questão 48

Questão
What will be the output of the following code segnment?
Responda

Questão 49

Questão
What will be the output of the following code segment?
Responda

Questão 50

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

Questão 51

Questão
Identify the data type of the following variables.
Responda
  • string
  • float
  • integer
  • float
  • boolean

Questão 52

Questão
Ans = 0 [blank_start]for[blank_end] [blank_start]count[blank_end] [blank_start]in[blank_end] [blank_start]range(1,6)[blank_end]: [blank_start]Ans[blank_end] [blank_start]+=[blank_end] [blank_start](2 * count) ** count[blank_end]
Responda
  • for
  • while
  • I don't know fuck!
  • count
  • Ans
  • in
  • on
  • at
  • under
  • range(1,6)
  • range(0,5)
  • range(6)
  • range(5)
  • range(6,1)
  • Ans
  • count
  • +=
  • -=
  • *=
  • (2 * count) ** count
  • (2 ** count) * count
  • (count ** count) * 2
  • (count * count) ** 2

Questão 53

Questão
sum = 0 count = 1 while [blank_start]count <= 5[blank_end]: [blank_start]sum[blank_end] [blank_start]+=[blank_end] [blank_start](count * 2) ** (2 * count -1)[blank_end] [blank_start]count += 1[blank_end]
Responda
  • count <= 5
  • count < 5
  • sum
  • +=
  • (count * 2) ** (2 * count -1)
  • (count * 2) ** (2 * count +1)
  • count += 1
  • count + 1
  • 1 / ((count * 2) ** (2 * count -1))
  • 1 / (count * 2) ** (2 * count -1)
  • 1 / ((count * 2) ** (2 * count +1))
  • 1 / (count * 2) ** (2 * count +1)
  • 1 / ((count ** 2) * (2 ** count -1))

Questão 54

Questão
count = 1 sum = 0 [blank_start]while[blank_end] [blank_start]count <= 5:[blank_end] sum += [blank_start](2 * count) ** count[blank_end] [blank_start]count += 1[blank_end]
Responda
  • while
  • for
  • when
  • count <= 5:
  • count < 5:
  • count <= 5
  • count < 5
  • (2 * count) ** count
  • (2 ** count) * 2
  • (2 ** count) * count
  • count += 1
  • count += 2
  • count += 5
  • count + 1

Questão 55

Questão
sum = 0 #below is the for loop For [blank_start]count[blank_end] [blank_start]in[blank_end] [blank_start]range(1,6):[blank_end] sum [blank_start]+=[blank_end] [blank_start]1/((count * 2) ** ( 2 * count -1))[blank_end]
Responda
  • count
  • sum
  • count += 1
  • in
  • on
  • at
  • range(1,6):
  • range(1,5):
  • range(1,6)
  • range(6):
  • range(1,5)
  • +=
  • *=
  • /=
  • 1/((count * 2) ** ( 2 * count -1))
  • 1/(count * 2) ** ( 2 * count -1)
  • 1/((count ** 2) * ( 2 ** count -1))
  • 1/((count ** 2) ** ( 2 ** count -1))

Questão 56

Questão
count = 1 sum = 0 [blank_start]while count <= 5:[blank_end] [blank_start]sum[blank_end] [blank_start]+=[blank_end] [blank_start]1/((2 * count) ** (2 * count - 1))[blank_end] [blank_start]count += 1[blank_end]
Responda
  • while count <= 5:
  • while count <= 5
  • for count <= 5:
  • for count <= 5
  • sum
  • count
  • +=
  • ^=^
  • /=
  • 1/((2 * count) ** (2 * count - 1))
  • (2 * count) ** (2 * count - 1)
  • 1/(2 * count) ** (2 * count - 1)
  • 1/((2 ** count) * (2 ** count - 1))
  • count += 1
  • count *= 1
  • count /= 1
  • count 凸 = 凸 1

Questão 57

Questão
count = 1 Ans = 0 while [blank_start]count <=5[blank_end]: Ans [blank_start]*=[blank_end] [blank_start]1/((2 * count +1) ** (4 * count))[blank_end] [blank_start]count += 1[blank_end]
Responda
  • count <=5
  • count <=5:
  • *=
  • +=
  • 1/((2 * count +1) ** (4 * count))
  • 1/((4 * count +1) ** (2 * count))
  • 1/((2 ** count +1) * (4 ** count))
  • 1/((2 ** count) * (4 ** count + 1))
  • 1/((2 * count) ** (5 * count + 1))
  • count += 1
  • count *= 1

Questão 58

Questão
Ans = 0 #For loop is below [blank_start]For count in range(1,6):[blank_end] Ans [blank_start]*=[blank_end] [blank_start]1/((2 *count + 1) ** ( 4 * count))[blank_end]
Responda
  • For count in range(1,6):
  • For count in range(0,6):
  • For count in range(6):
  • For count in range(5):
  • *=
  • +=
  • 1/((2 *count + 1) ** ( 4 * count))
  • 1/(2 *count + 1) ** ( 4 * count)
  • 1/((2 *count + 1) * ( 5 * count))

Questão 59

Questão
Ans = 0 count = 1 while [blank_start]count <= 4[blank_end] Ans += [blank_start]count / (count ** 2)[blank_end] count += 1
Responda
  • count <= 4
  • count <= 5
  • count <= 5:
  • count <= 4:
  • count / (count ** 2)
  • (count**2) / count

Questão 60

Questão
Ans = 0 [blank_start]for count in range(1,6):[blank_end] Ans [blank_start]+=[blank_end] [blank_start]count / (count ** 2)[blank_end]
Responda
  • for count in range(1,6):
  • for count in range(1,6)
  • for count in range(0,5):
  • for count in range(1,5):
  • for count in range(1,5)
  • +=
  • *=
  • 凸 = 凸
  • ୧༼◔益◔╭∩╮༽ 凸 ... ng lun sick ar
  • count / (count ** 2)
  • (count ** 2) / count
  • count / (count * 2)
  • count // (count ** 2)

Questão 61

Questão
Using the len() method, write a "for" loop to display all company names from the ProgrammeName list. Print the corresponding output, referring to the following sample execution. ProgrammeName = ["DSAI","GSD","SE","TN"] for [blank_start]count[blank_end] in [blank_start]range(0,len(ProgrammeName))[blank_end]: print(f"Programme [blank_start]{count + 1}[blank_end] :[blank_start]{ProgrammeName[count]}[blank_end]")
Responda
  • count
  • PragrammeName
  • range(0,len(ProgrammeName))
  • range(0,length(ProgrammeName))
  • {count + 1}
  • (count + 1)
  • {ProgrammeName[count]}
  • (ProgrammeName[count])

Questão 62

Questão
Using the len() method, write a "for" loop to display all names from the Name list. Print the corresponding output, referring to the following sample execution. Name = ["Benson","Matthew","Eric","Arion"] [blank_start]Name.sort()[blank_end] for [blank_start]count[blank_end] in [blank_start]range(0,len(ProgrammeName))[blank_end]: print(f"Teacher [blank_start]{count + 1}[blank_end] : [blank_start]{Name[count]}[blank_end]")
Responda
  • Name.sort()
  • Name.order()
  • count
  • Name
  • range(0,len(ProgrammeName))
  • range(0,7)
  • {count + 1}
  • {Name[count]}

Questão 63

Questão
Complete the Python program to check the Block of each Room by using the "if-elif" statement. Save the correct result into a variable named, Block. if Room >=101 and [blank_start]Room <= 127[blank_end]: Block = "A" elif [blank_start]Room >= 128 and Room <= 191[blank_end]: [blank_start]Block = "B"[blank_end] elif Room >= 192 and [blank_start]Room <= 223[blank_end]: [blank_start]Block = "C"[blank_end] [blank_start]elif[blank_end] Room >= 224 and Room <= 255: [blank_start]Block = "D"[blank_end]
Responda
  • Room <= 127
  • Room <= 223
  • Room >= 128 and Room <= 191
  • Block = "B"
  • Block = "C"
  • elif
  • Block = "D"

Semelhante

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