Noc20-Cs08 Week 01 Assignment 02
Noc20-Cs08 Week 01 Assignment 02
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Announcements (announcements)
Lecture 02 :
Java The due date for submitting this assignment has passed.
Programming As per our records you have not submitted this assignment.
Steps (unit? Sample solutions (Provided by instructor)
unit=2&lesson=16)
1 import java.util.Scanner;
2 public class Exercise1_2 {
Lecture 03 : 3 public static void main(String[] args) {
Java Tools and 4 Scanner s = new Scanner(System.in);
Resources 5 int x = s.nextInt();
6 int y = s.nextInt();
(unit? 7 int z = s.nextInt();
unit=2&lesson=17) 8 int result = 0;
9 if(x >= y && x >= z)
Lecture 04 : 10 {
11 result=x;
Demonstration- 12 }
I (unit? 13 else if(y >= z)
unit=2&lesson=18) 14 {
15 result=y;
16 }
Lecture 05 : 17 else
Java Applet 18 {
https://onlinecourses.nptel.ac.in/noc20_cs08/progassignment?name=102 1/3
02/07/2020 Programming in Java - Course
Programming 19 result=z;
(unit? 20 }
21 System.out.println(result);
unit=2&lesson=19) 22 }
23 }
Quiz :
Assignment 1
(assessment?
name=93)
Java Week
1:Q2
(/noc20_cs08/progassignment?
name=102)
Java Week
1:Q3
(/noc20_cs08/progassignment?
name=103)
Java Week
1:Q4
(/noc20_cs08/progassignment?
name=105)
Java Week
1:Q5
(/noc20_cs08/progassignment?
name=106)
Feedback For
Week 1 (unit?
unit=2&lesson=112)
Week 2 :
Week 3 :
Week 4 :
Week 5 :
Week 6 :
Week 7 :
Week 8 :
Week 9 :
Week 10 :
Week 11 :
Week 12 :
DOWNLOAD
VIDEOS
https://onlinecourses.nptel.ac.in/noc20_cs08/progassignment?name=102 2/3
02/07/2020 Programming in Java - Course
Assignment
Solution
Books
Live Interactive
Session
https://onlinecourses.nptel.ac.in/noc20_cs08/progassignment?name=102 3/3