NPTEL Programming in Java ASSIGNMENT 1 Answers:- Hello students in this article we are going to share NPTEL Programming in Java assignment week 1 answers. All the Answers provided below to help the students as a reference, You must submit your assignment at your own knowledge.
About Programming in Java Course:-
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.
Criteria to get Certificate:-
This course is a week 12 course the best of 8 out 12 assignments marks will be calculated for final result.
Below are mentioned criteria for final result
Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100
Final score = Average assignment score + Exam score
YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.
Below you can find NPTEL Programming in Java Assignment 1 Answers
Assignment No. | Answers |
---|---|
Programming in Java Assignment 1 | Click Here |
Programming in Java Assignment 2 | Click Here |
Programming in Java Assignment 3 | Click Here |
Programming in Java Assignment 4 | Click Here |
Programming in Java Assignment 5 | Click Here |
Programming in Java Assignment 6 | Click Here |
Programming in Java Assignment 7 | Click Here |
Programming in Java Assignment 8 | Click Here |
NPTEL Programming in Java Assignment 1 Answers 2022:-
Q1. What of the following can be used for a variable name in java?
- Byte
- Throw
- This
- Extend
ANSWER:- A
Q2. A platform is the hardware or software environment in which a program runs. Which of the following is/are java platform component?
- HTML
- Java Virtual Machine
- Java application programming interface(API)
- HotJava
ANSWER:- B
Q3. What is the value returned by the method f() define below?
Public static int f(int x, int y) {return (x>y) ? y: x; }
- The sum of x and y that is, x + y.
- Thee difference of x and y that is, x-y.
- The maximum of x and y that is,the large r value of x and y
- The minimum of x and y that is, the smaller r value of x and y
ANSWER:- D
Q4. A java file with extension ‘.class’ contains
- Java source code
- HTML tags
- Java byte code
- A program file written in java programming language
ANSWER:- A
Q5. Which of the following is used to find and fix bus in the Java programs?
- JVM
- JRE
- JDK
- JDB
ANSWER:- D
Next Week Assignment Answers
Q6. What will be the output of the program if it is executed?
What will be the output of the program if it is executed?
- 15
- 12
- 14
- 10
ANSWER:- A
Q7. Following is a piece of code where some part of the statement is missing :
In the following , some option are given. You have to choose the correct option for the argument in system.out.print() function to print the first and the last but one characters in the array nptel.
- nptel[nptel.length-2] + nptel[0]
- nptel[0] + nptel[nptel.length-2]
- “” + nptel[nptel.length-2] + nptel[0]
- “” + nptel[0] + nptel[nptel.length-2]
ANSWER:- D
Q8. Consider the following program .
What will be the output of the program if it is executed?
- Print first six even numbers.
- Print first six odd numbers.
- Print first five even number.
- Print first six Fibonacci numbers.
ANSWER:-
Q9. Int N = Integer.parseInt (args[])
- 5
- 20
- 8
- 10
ANSWER:-
Q10.Consider the following program.
- Print the value of N!
- Print the value of N(N+1)/2
- Print the value of 1*3*3*…………..* N
- Print the value of 1!*2!*3!*……………*N!
ANSWER:-
these answers we are just trying to help students, so we urge do your assignment on your own.
if you have any suggestions then comment below or contact us at [email protected]
If you found this article Interesting and helpful, don’t forget to share it with your friends to get this information.