ITE3711 New

Descripción

IT114126 please search!!!
itso Lucypay
Test por itso Lucypay, actualizado hace alrededor de 23 horas
itso Lucypay
Creado por itso Lucypay hace 8 días
267
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

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

Pregunta 5

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

Pregunta 6

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

Pregunta 7

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

Pregunta 8

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

Pregunta 9

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

Pregunta 10

Pregunta
What is the result of range(7) in Python?
Respuesta
  • 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

Pregunta 11

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

Pregunta 12

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

Pregunta 13

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

Pregunta 14

Pregunta
What will be the output of the following code snippet?
Respuesta
  • 3
  • 3.5
  • 4
  • Error

Pregunta 15

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

Pregunta 16

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

Pregunta 17

Pregunta
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
Respuesta
  • 14
  • 24
  • 7
  • 68

Pregunta 18

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

Pregunta 19

Pregunta
What will be the output of the following code snippet?
Respuesta
  • 55
  • "55"
  • "52"
  • 10

Pregunta 20

Pregunta
What will be the output of the following code snippet?
Respuesta
  • 3.33333 3
  • 3 3.33333
  • error
  • 3 / 3 3 // 3

Pregunta 21

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

Pregunta 22

Pregunta
Are you ready for the test?

Pregunta 23

Pregunta
What will be the output of the following code snippet?
Respuesta
  • 2 3
  • 2 2.66666
  • 8 3
  • 2.66666 2

Pregunta 24

Pregunta
What will be the output of the following code snippet?
Respuesta
  • 2.5
  • 0.4
  • 2
  • 6

Pregunta 25

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

Pregunta 26

Pregunta
What does the += operator do in Python?
Respuesta
  • 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

Pregunta 27

Pregunta
What will be the output of the following code snippet?
Respuesta
  • "52"
  • 7
  • 52
  • 10

Pregunta 28

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

Pregunta 29

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

Pregunta 30

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

Pregunta 31

Pregunta
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]
Respuesta
  • 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?>"
  • ))

Pregunta 32

Pregunta
The Data type of variable "Future" is String SYNY = 1 Future = SYNY == "True"
Respuesta
  • True
  • False

Pregunta 33

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

Pregunta 34

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

Pregunta 35

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

Pregunta 36

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

Pregunta 37

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

Pregunta 38

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

Pregunta 39

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

Pregunta 40

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

Pregunta 41

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

Pregunta 42

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

Pregunta 43

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

Pregunta 44

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

Pregunta 45

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

Pregunta 46

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

Pregunta 47

Pregunta
What is the displayed result when the following Python code executed?
Respuesta
  • GGWP WPGG
  • WPGG GGWP
  • Error
  • GGWP
  • WPGG

Pregunta 48

Pregunta
What will be the output of the following code segnment?
Respuesta

Pregunta 49

Pregunta
What will be the output of the following code segment?
Respuesta

Pregunta 50

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

Pregunta 51

Pregunta
Identify the data type of the following variables.
Respuesta
  • string
  • float
  • integer
  • float
  • boolean
Mostrar resumen completo Ocultar resumen completo

Similar

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