Please answer the following questions to proceed to week two tutorial
Q.1: What is the reason that pointer was eliminated from JAVA?
Check the correct answer
Q.2: What is the right method to print the contents to display in monitor?
Q.3: What is the main difference between print() and println()?
Q.4: Constants represent fixed values which should be written in the following naming convention?
Q.5: what does 0.01 number represent in java data type category?
Q.6: The following code snippet falls into what operators category?
System.out.println("x>y : "+(x>y));
Q.7: Look at the following code snippet and find out the right answers?
public class MyProgram{ public static void main(String args[]){ int x; x=1; //beginning number is 1 do{ System.out.println(x); ++x; }while(x<=10); } } |
Q.8 Find out incorrect answer from the following list?
Q.9 Arrays are stored on what memory?
Q.10 Write a code that puts 45 into row 2 column 3 ?
------ | Column 0 | Column 1 | Column 2 | Column 3 | Column 4 |
Row 0 | 55 | 65 | 75 | 85 | 95 |
Row 1 | 56 | 66 | 76 | 86 | 96 |
Row 2 | 57 | 67 | 77 | 87 | 97 |
grades[1][0], grades[1][1], grades[1][2], grades[1][3], grades[1][4];
grades[2][0], grades[2][1], grades[2][2], grades[2][3], grades[2][4];
Check the correct answer
Answers of the Week One tutorial questions
Q.1. Correct answer is d.
Q.2. Correct answer is c.
Q.3. Correct answer is d.
Q.4. Correct answer is a.
Q.5. Correct answer is d.
Q.6. Correct answer is b.
Q.7. Correct answer is e.
Q.8. Correct answer is a.
Q.9. Correct answer is c.
Q.10. Correct answer is b.
No comments:
Post a Comment