22/10/2025, 19:13 Programming In Java - Course
([Link] ([Link]
muthupec77@[Link]
NPTEL ([Link] » Programming In Java (course)
If already Week 01 : Programming Assignment 4
registered, click
Due on 2025-08-07, 23:59 IST
to check your
Complete the code fragment that reads two integer inputs from keyboard and
payment status
compute the quotient and remainder.
Private Test cases used
Input Expected Output Actual Output Status
Course for evaluation
outline The Quotient is The Quotient is
-756 = -94\n = -94\n
Test Case 1 Passed
About 8 The Remainder is The Remainder is
NPTEL () = -4 = -4
How does an
NPTEL The due date for submitting this assignment has passed.
online 1 out of 1 tests passed.
course You scored 100.0/100.
work? ()
Assignment submitted on 2025-07-28, 11:45 IST
Week 0 : () Your last recorded submission was :
1 import [Link];
2 public class W01_P4{
Week 1 : () 3 public static void main(String[] args) {
4 Scanner sc = new Scanner([Link]);
Lecture 01 : 5 int x=[Link]();
6 int y=[Link]();
Introduction 7 //code for quotient and remainder
(unit? 8
unit=18&lesso 9 int quotient = x / y;
10 int remainder = x % y;
n=19) 11
12 [Link]("The Quotient is = " + quotient);
Lecture 02 : 13 [Link]("The Remainder is = " + remainder);
Java 14
15
Programming 16 [Link]();
Steps (unit? 17 }
unit=18&lesso 18 }
n=20) Sample solutions (Provided by instructor)
1 import [Link];
[Link] 1/3
22/10/2025, 19:13 Programming In Java - Course
Lecture 03 :
2 public class W01_P4{
3 public static void main(String[] args) {
Java Tools and 4 Scanner sc = new Scanner([Link]);
Resources 5 int x=[Link]();
6 int y=[Link]();
(unit?
7 int quotient=x/y;
unit=18&lesso 8 int remainder=x%y;
n=21) 9 [Link]("The Quotient is = " + quotient);
10 [Link]("The Remainder is = " + remainder);
Lecture 04 :
11 [Link]();
12 }
Demonstration 13 }
-I (unit?
unit=18&lesso
n=22)
Lecture 05 :
Java Applet
Programming
(unit?
unit=18&lesso
n=23)
Week 01 :
Programming
Assignment 1
(/noc25_cs110
/progassignme
nt?name=568)
Week 01 :
Programming
Assignment 2
(/noc25_cs110
/progassignme
nt?name=570)
Week 01 :
Programming
Assignment 3
(/noc25_cs110
/progassignme
nt?name=571)
Week 01 :
Programming
Assignment 4
(/noc25_cs11
0/progassign
ment?
name=572)
Week 01 :
Programming
Assignment 5
(/noc25_cs110
/progassignme
nt?name=573)
Quiz: Week
1:Assignment
1
[Link] 2/3
22/10/2025, 19:13 Programming In Java - Course
(assessment?
name=567)
Week 01 :
Assignment
Solution (unit?
unit=18&lesso
n=430)
Feedback
Form (unit?
unit=18&lesso
n=24)
Week 2 : ()
Week 3 : ()
Week 4 : ()
Week 5 : ()
Week 6 : ()
Week 7 : ()
Week 8 : ()
Week 9 : ()
Week 10 : ()
Week 11 : ()
Week 12 : ()
DOWNLOAD
VIDEOS ()
Books ()
Text
Transcripts
()
[Link] 3/3