NPTEL Programming In Java

NPTEL Programming In Java Assignment 1 Answers 2023

NPTEL Programming In Java Assignment 1 Answers 2023:- Here All The Questions and Answers Provided to Help All The Students and NPTEL Candidate as a Reference Purpose, It is Mandetory to Submit Your Weekly Assignment By Your Own Understand Level.

 

Are you looking for the Assignment Answers to NPTEL Programming In Java Assignment 1 Answers 2023? If Yes You are in Our Great Place to Getting Your Solution, This Post Should be help you with the Assignment answer to the National Programme on Technology Enhanced Learning (NPTEL) Course “NPTEL Programming In Java Assignment 1 Answers 2023

 

NPTEL Programming In Java

From My Side : With the expansion of knowledge and Communication Technology, there’s a desire to develop massive and complicated package. Further, those package ought to be platform freelance, web enabled, straightforward to switch, secure, and robust. to satisfy this demand object-oriented paradigm has been developed and supported this paradigm the Java artificial language emerges because the best programming atmosphere. Now, Java artificial language is being employed for mobile programming, web programming, and plenty of alternative applications compatible to distributed systems. This course aims to hide the essential topics of Java programming in order that the participants will improve their skills to address the present demand of IT industries and solve several issues in their own filed of studies.

With the growth of Information and Communication Technology, there is a need to develop large and complex software. Further, those software should be platform independent, Internet enabled, easy to modify, secure, and robust. To meet this requirement object-oriented paradigm has been developed and based on this paradigm the Java programming language emerges as the best programming environment. Now, Java programming language is being used for mobile programming, Internet programming, and many other applications compatible to distributed systems. This course aims to cover the essential topics of Java programming so that the participants can improve their skills to cope with the current demand of IT industries and solve many problems in their own filed of studies.

INTENDED AUDIENCE :  The undergraduate students from the engineering disciplines namely CSE, IT, EE, ECE, etc. might be interested for this course.
PREREQUISITES :  This course requires that the students are familiar with programming language such as C/C++ and data structures, algorithms.
INDUSTRY SUPPORT :   All IT companies.

CRITERIA TO GET A CERTIFICATE

This course can have Associate in Nursing unproctored programming communication conjointly excluding the Proctored communication, please check announcement section for date and time. The programming communication can have a weightage of twenty fifth towards the ultimate score.

Final score = Assignment score + Unproctored programming exam score + Proctored Exam score
  • Assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course.
  • ( All assignments in a particular week will be counted towards final scoring – quizzes and programming assignments). 
  • Unproctored programming exam score = 25% of the average scores obtained as part of Unproctored programming exam – out of 100
  • Proctored Exam score =50% of the proctored certification exam score out of 100
YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF ASSIGNMENT SCORE >=10/25 AND
UNPROCTORED PROGRAMMING EXAM SCORE >=10/25 AND PROCTORED EXAM SCORE >= 20/50. 
If any one of the 3 criteria is not met, you will not be eligible for the certificate even if the Final score >= 40/100. 

CHECK HERE OTHERS NPTEL ASSIGNMENTS ANSWERS 

BELOW YOU CAN GET YOUR NPTEL Programming In Java Assignment 1 Answers 2023 :

 

NPTEL Programming In Java Quiz Assignment 1 Answers 2023

1 point
 
 
 
 
Answer: C
1 point
 
 
 
 
Answer: B
1 point
 
 
 
 
Answer: C
1 point
 
 
 
 
Answer: C
1 point
 
 
 
 
Answer: A
1 point
 
 
 
 
Answer: A
1 point
 
 
 
 
Answer: C
1 point
 
 
 
 
Answer: C
1 point
 
 
 
 
Answer: B
1 point
 
 
 
 
Answer: A

NPTEL Programming In Java All Programming Assignment  Answers 2023

Programming Assignment 1

import java.util.Scanner;
public class Exercise1_1 {
       public static void main(String[] args) {
       Scanner s = new Scanner(System.in);
       double radius= s.nextDouble();
       double perimeter;
       double area;
if(radius<=0)
 {
  System.out.println("please enter non zero positive number ");
 }
else
{
 perimeter = 2 * Math.PI * radius;
 area = Math.PI * radius * radius;
 System.out.println(perimeter);
 System.out.println(area);
}
 }
}

Programming Assignment 2


import java.util.Scanner;
public class Exercise1_2 {
       public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int x = s.nextInt();
        int y = s.nextInt();
        int z = s.nextInt();
        int result = 0;
if(x >= y && x >= z)
        {
            result=x;
        }
        else if(y >= z)
        {
            result=y;
        }
        else
        {
            result=z;
        }
System.out.print(result);
 }
}


Programming Assignment 3



import java.util.Scanner;
public class Exercise1_3 {
       public static void main(String[] args) {
	   Scanner sc = new Scanner(System.in);
	   int n=sc.nextInt();
	   int sum=0;
int result=1;
int i=0;
while(result<=n)
	 {
	  if(i%2==0)
	  {
		 if(i%3==0)
		 {
			 sum=sum+i;

         }
		 result=result+1;
	  }
	  i=i+1;
	 }
      System.out.println(sum);
 }
}


Programming Assignment 4




import java.util.Scanner;
public class Exercise1_4 {
    public static void main(String[] args) {
	   Scanner sc = new Scanner(System.in);
	   int n=sc.nextInt();
           int result=0;
int temp=n;
int c=0,t;
//Use while loop to check the number is Armstrong or not.
    while(n>0)
	{
		t=n%10;
		n=n/10;
		c=c+(t*t*t);
	}
	if(temp==c)
		result=1;
	else
		result=0;
    //Evaluation code
    System.out.println(result);
 }
}



Programming Assignment 5



import java.util.Scanner;
public class Exercise1_5{
    public static void main(String[] args) {
	 Scanner input = new Scanner(System.in);
         double mark_avg;
         int result;
         int i;
         int s;
      //define size of array
       s = input.nextInt();
     //The array is defined "arr" and inserted marks into it of integer type.
      int[] arr = new int[s];

	  for(i=0;i<arr.length;i++)
	  {
        	arr[i]=input.nextInt();
	  }
      //initialise maximum element as first element of array.
	  int max=arr[0];
      double sum=arr[0];
	  //traverse array elements to get the current max
      for(i=1;i<arr.length;i++)
	  {
         sum=sum+arr[i];
         if(arr[i]>max)
            max =arr[i];
	  }

    //Store the highest mark in the variable max
    //Store average mark in avgMarks
    result=max;
    mark_avg=sum/(arr.length);
    //Evaluation code
    System.out.println(result);
    System.out.println(mark_avg);
 }
}

Yhaa You have done it but next? if YOU Want to your Others Programming In JAVA Assignments Answers Then Follow US HERE and Join Telegram.