Week 1
Week 1
(https://swayam.gov.in)
(https://swayam.gov.in/nc_details/NPTEL)
If already
registered, click
to check your
Week 01 : Assignment 01
payment status The due date for submitting this assignment has passed.
Due on 2024-02-07, 23:59 IST.
Assignment 1 5) What does the term "Write Once, Run Anywhere" (WORA) imply in Java? 1 point
Solution (unit?
unit=18&lesson= a. Code reusability
25) b. Platform independence
Week 1 c. Cross-compilation
Feedback Form d. Dynamic typing
(unit?
unit=18&lesson= Yes, the answer is correct.
24)
Score: 1
Accepted Answers:
Week 2 : () b. Platform independence
Week 3 : () 6) In Java, what is used to store multiple values of the same type? 1 point
a. Structures
Week 4 : ()
b. Pointers
Week 5 : () c. Arrays
d. Lists
Week 6 : ()
Yes, the answer is correct.
Score: 1
Week 7 : () Accepted Answers:
c. Arrays
Week 8 : ()
7) Which of the following is a valid identifier in Java? 1 point
Week 9 : ()
a. 123identifier
Week 10 : () b. _identifier
c. #identifier
Week 11 : ()
d. identifier-123
9) What is the primary purpose of the Java Virtual Machine (JVM) in the Java programming 1 point
language?
a. Code optimization
b. Platform independence
c. Memory management
d. Hardware-specific operations
10) What is emphasized during the Java Program Editing phase? 1 point