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
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