IS5103 Week5 (Quiz 5 Solutions)

String[] list = {“red”, “yellow”, “green”};  String[] list = new String[]{“red”, “yellow”, “green”}; 2. Analyze the following code:  int[] list = new int[5]; list = new int[6];  The code can compile and run fine. The second line assigns a new…

IS5103 WEEK-2 QUIZE’S

Q1. How many times will the following code print “Welcome to Java”? int count = 0; do { System.out.println(“Welcome to Java”); } while (count++ < 10); 11 Q2. Which of the following is the correct expression that evaluates to true if the…

IS5103 WEEK-3 QUIZE’S

Q1. An object is an instance of a ________. class Q2. The keyword ________ is required to declare a class. class Q3. Analyze the following code: class Circle {private double radius; public Circle(double radius) {radius = radius;}}  The program will compile, but you…

IS5103 WEEK-4 QUIZE’S

Q1. Suppose your method does not return any value, which of the following keywords can be used as a return type? void Q2. Does the method call in the following method cause compile errors? No Q3. You should fill in the blank in…

INF503 WEEK-1 LESSON (1,2&3) LAB

 LESSON-1 Q1) which of the following functions of the database management system causes some data to be read and some data to be written into a database. Transaction Q2)  which of the following applications analyses large amount of data to search for…

IS5103 Week 6 (Quiz)

1. Analyze the following code: public class Test extends A {public static void main(String[] args) {Test t = new Test();t.print();}} class A {String s; A(String s) {this.s = s;} public void print() {System.out.println(s);}} 1. The program would compile if a default constructor…

GE5103 Asst ( 9,10 ) Solutions – Week4

Q1. In addition to technical skills, a project manager must have _________ skills in order to successfully resource a project. Behavioral Q2. Why is it important to involve workers in the planning phase of a project when possible?  People are more likely…

INF503 WEEK-3 LESSON (7,8&9) LAB

LESSON-7 Q1)Which of the following joins is the default type of join in a joined table, where a tuple is included in the result only if a matching tuple exists in the other relation? Inner Q2).  Which of the following…

IS5103 Week 7 (Quiz)

1. An instance of ________ describes system errors. If this type of error occurs, there is little you can do beyond notifying the user and trying to terminate the program gracefully. Error 2. The following code causes Java to throw ________. no…