Question Text: Feedback
Question Text: Feedback
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. print "Hello World"
b. Do nothing
c. print "Hello World" infinitely
d. The code will not run because of syntax error
e. None of these
Feedback
Question 2
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. The code will not run because of syntax error
b. None of these
This study source was downloaded by 100000850007811 from CourseHero.com on 07-26-2022 07:05:01 GMT -05:00
https://www.coursehero.com/file/67205674/Q3docx/
c. print "Hello World" infinitely
d. print "Hello World"
e. Do nothing
Feedback
Question 3
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Question 4
Complete
Mark 1.00 out of 1.00
Flag question
Question text
This study source was downloaded by 100000850007811 from CourseHero.com on 07-26-2022 07:05:01 GMT -05:00
https://www.coursehero.com/file/67205674/Q3docx/
b. 236
c. None of these
d. 512
e. 1
Feedback
Question 5
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Question 6
Complete
Mark 1.00 out of 1.00
Flag question
Question text
This study source was downloaded by 100000850007811 from CourseHero.com on 07-26-2022 07:05:01 GMT -05:00
https://www.coursehero.com/file/67205674/Q3docx/
Select one:
a. while
b. for
c. switch
d. do while
e. None of these
Question 7
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Question 8
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Which of the following is a valid statement to accept int input? Let us assume
that we have declared scan as Scanner.
This study source was downloaded by 100000850007811 from CourseHero.com on 07-26-2022 07:05:01 GMT -05:00
https://www.coursehero.com/file/67205674/Q3docx/
Select one:
a. int num = scan.nextLong();
b. short num = scan.nextInt();
c. int num = scan.getInt();
d. short num = scan.nextShort();
e. None of these
Question 9
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Question 10
Complete
Mark 1.00 out of 1.00
Flag question
Question text
This study source was downloaded by 100000850007811 from CourseHero.com on 07-26-2022 07:05:01 GMT -05:00
https://www.coursehero.com/file/67205674/Q3docx/
c. 1010
d. None of these
e. 3.1416
This study source was downloaded by 100000850007811 from CourseHero.com on 07-26-2022 07:05:01 GMT -05:00
https://www.coursehero.com/file/67205674/Q3docx/
Powered by TCPDF (www.tcpdf.org)