Programming in Java - - Unit 11 - Week 8 _
Programming in Java - - Unit 11 - Week 8 _
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
https://onlinecourses.nptel.ac.in/noc24_cs105/unit?unit=74&assessment=437 1/4
13/11/2024, 15:27 Programming in Java - - Unit 11 - Week 8 :
Lecture 40 : 5) What will be the output of the Java code given below? 1 point
AWT
Programming -
II (unit?
unit=74&lesso
n=79)
Feedback
Form (unit?
unit=74&lesso
n=80)
Week 08 :
Programming
Assignment 1
(/noc24_cs105
a. Compilation error
/progassignme
nt?name=413) b. An empty frame with no button
Week 08 :
c. A frame with a button "Programming in Java - 2024" at coordinates (30, 50)
Programming d. A frame with a button, but not at the specified coordinates
Assignment 2
Yes, the answer is correct.
(/noc24_cs105
Score: 1
/progassignme
Accepted Answers:
nt?name=414)
c. A frame with a button "Programming in Java - 2024" at coordinates (30, 50)
Week 08 :
Programming 6) Which layout manager arranges components in a top-to-bottom flow, adding them to1 point
Assignment 3 the next available position?
(/noc24_cs105
/progassignme a. Grid Layout
nt?name=415)
b. Flow Layout
Week 08 : c. Border Layout
Programming
d. Card Layout
Assignment 4
(/noc24_cs105
https://onlinecourses.nptel.ac.in/noc24_cs105/unit?unit=74&assessment=437 2/4
13/11/2024, 15:27 Programming in Java - - Unit 11 - Week 8 :
Books () 9) Which layout manager organizes components in a grid, with each cell of the grid 1 point
containing a component?
Text
Transcripts a. Flow Layout
() b. Grid Layout
c. Border Layout
d. Card Layout
10) What is the layout manager used in the Java code given below? 1 point
https://onlinecourses.nptel.ac.in/noc24_cs105/unit?unit=74&assessment=437 3/4
13/11/2024, 15:27 Programming in Java - - Unit 11 - Week 8 :
a. Grid Layout
b. Border Layout
c. Flow Layout
d. Card Layout
https://onlinecourses.nptel.ac.in/noc24_cs105/unit?unit=74&assessment=437 4/4