BA6933 Week-7 (17,18)
1.Consider the following gasoline sales time series data. Click on the datafile logo to reference the data. Week Sales (1000s of gallons) 1 17 2 21 3 19 4 23 5 18 6 16 7 20 8 18 9 22…
1.Consider the following gasoline sales time series data. Click on the datafile logo to reference the data. Week Sales (1000s of gallons) 1 17 2 21 3 19 4 23 5 18 6 16 7 20 8 18 9 22…
1.You need to design a backup strategy. You need to ensure that all servers are backed up every Friday night and a complete copy of all data is available with a single set of media. However, it should take minimal…
1.Which of the following functionalities joins every record of the dataset with every other record of another dataset? cartesian product 2. Which of the following types of Tableau data spreads of a single row over multiple coloums? Wide 3. In…
Q1. Which library package would you import to use NumberFormat and DecimalFormat? java.text Q2. The expression 4 + 20 / (3 – 1) ∗ 2 is evaluated to ________. 24 Q3.Which of the following expressions results in a value 1? 37 % 6 Q4. If…
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…
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…
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…
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…
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…
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…