Finish review
1. INF1511 SEMESER 1 2024
2. Assessment 4 -
QUIZ
Assessment 4 - 743913
Started on MONDAY 20 MAY 2024, 2:24 PM
State Finished
Completed on MONDAY 20 MAY 2024, 2:37 PM
Time taken 13 mins 38 secs
Grade 100.00 out of 100.00
Question 1
Complete
Marked out 1.00 of 1.00
What is the output from the following code?
#input
sWord1=”Earth”
sWord2=’Wind’
sWord3=’Fire’
#processing
myTotal =sWord1+ ‘+’ +sWord3
#output
Print(‘The output is : ‘,myTotal)
a. Syntax error
b. The output is : Earth,WindandFire
c. The output is : earth,windandfire
d. The output is : Earth, Wind and Fire
The correct answer is : d. The output is : Earth, Wind and Fire
, 012345679
I A
6 % "!%
! ""#
!$% &
A'
!6
%B
BCD=*EB+++B: B=DFG@++@:B "
$ BE
!H
%()*!
! )
%+(,-
!,
'
!$
./"(
%0
%+
'
!1,/
2,3./"4
/
25*!
! 0-
!
6/
25*!
! -
! 7
*.!
%/
25*!
! !%-
!
/ !
#
2/
25*!
! -
!
01234567
! ""#
!$% &
-
!6 #(8,- %,3,9 !$ ,3,:""#,3,; !,3,<" ,3,=!%
$ ,3,>
",?
!1
-
!6 #8?4
!1
-
!6 #8@?4
- %3>
"
6*.!
- %>
" 7
%- %9 !$ :""#; !<" =!%
$ >
"
/ !
#
2- %>
"
1. INF1511 SEMESER 1 2024
2. Assessment 4 -
QUIZ
Assessment 4 - 743913
Started on MONDAY 20 MAY 2024, 2:24 PM
State Finished
Completed on MONDAY 20 MAY 2024, 2:37 PM
Time taken 13 mins 38 secs
Grade 100.00 out of 100.00
Question 1
Complete
Marked out 1.00 of 1.00
What is the output from the following code?
#input
sWord1=”Earth”
sWord2=’Wind’
sWord3=’Fire’
#processing
myTotal =sWord1+ ‘+’ +sWord3
#output
Print(‘The output is : ‘,myTotal)
a. Syntax error
b. The output is : Earth,WindandFire
c. The output is : earth,windandfire
d. The output is : Earth, Wind and Fire
The correct answer is : d. The output is : Earth, Wind and Fire
, 012345679
I A
6 % "!%
! ""#
!$% &
A'
!6
%B
BCD=*EB+++B: B=DFG@++@:B "
$ BE
!H
%()*!
! )
%+(,-
!,
'
!$
./"(
%0
%+
'
!1,/
2,3./"4
/
25*!
! 0-
!
6/
25*!
! -
! 7
*.!
%/
25*!
! !%-
!
/ !
#
2/
25*!
! -
!
01234567
! ""#
!$% &
-
!6 #(8,- %,3,9 !$ ,3,:""#,3,; !,3,<" ,3,=!%
$ ,3,>
",?
!1
-
!6 #8?4
!1
-
!6 #8@?4
- %3>
"
6*.!
- %>
" 7
%- %9 !$ :""#; !<" =!%
$ >
"
/ !
#
2- %>
"