January 2020

Chemical Reactions Laboratory Task

Chemical Reactions Laboratory Task GCC CHM 151LL: Chemical Reactions: Introduction to Reaction Types © GCC, 2014 page 1 of 12 Chemical Reactions: Introduction to Reaction Types In this experiment, you will observe (on video and in lab) examples of the six basic types of chemical reactions which are described below. You will write your observations […]

Chemical Reactions Laboratory Task Read More »

BUIS.200C0A Introduction To Business Systems Exam 3

BUIS.200C0A Introduction To Business Systems Exam 3 If you are looking for something else, email me at archmage@homeworkmarket.com.      Question 1     During the ____ phase of the SDLC, a preliminary analysis of requirements is conducted. Answer a.implementation b.planning c.design d.requirements gathering and analysis 2 points Question 2     The ____ approach incorporates

BUIS.200C0A Introduction To Business Systems Exam 3 Read More »

General Chemistry

General Chemistry Part I. Multiple/single Choice 1) Choose the right statement abut the definition of chemistry a) Chemistry seeks to understand the behavior of matter by studying its properties only in the macroscopic scale b) Quantum theory is one of the scientific tools that is used in chemistry to understand the behavior of matter c)

General Chemistry Read More »

Question 1 (1 point) Question 1 Unsaved According to the Google style guide, Java variable and class names should be named using UpperCamelCase. Question 2 (1 point) Question 2 Unsaved Analyze the following code: public class Test { public static void main (String args[]) { int i = 0; for (i = 0; i = 1) { if (balance 0); { System.out.println(“x”); } Question 11 (1 point) Question 11 Unsaved What is the value of balance after the following code is executed? int balance = 10; while (balance >= 1) { if (balance < 9) { continue; } balance = balance – 9; } Question 12 (1 point) Question 12 Unsaved Using the Google style guide document, select the proper declaration of a Java constant. Question 13 (1 point) Question 13 Unsaved Analyze the following code. int x = 1; while (0 < x) && (x < 100) System.out.println(x++); Question 14 (1 point) Question 14 Unsaved How many times will the following code print "Welcome to Java"? int count = 0; do { System.out.println("Welcome to Java"); count++; } while (count 9) { if (y > 8){ System.out.println(“x > 9 and y > 8”); } else if (z >= 7){ System.out.println(“x = 7”); } else { System.out.println(“x <= 9 and z < 7"); } } Question 17 (1 point) Question 17 Unsaved How many times does the following loop iterate? public class Quizzes { public static void main(String args[]){ int cnt = 1; int maxLoop = 30; while (cnt < maxLoop) { if (cnt==3) { break; } cnt++; } } } Question 18 (1 point) Question 18 Unsaved What is the output of the following Java code? ___________________ public class Quizzes { public static void main(String args[]){ String string1 = "CMIS141 "; String string2 = "is all"; String string3 = "about Java!"; String concat = string3.concat(string2).concat(string1); System.out.println(concat.length()); } } Question 19 (1 point) Question 19 Unsaved What is the output of the following Java code: ____________________. public class Quizzes { public static void main(String args[]){ double examAvg = 85.9983; System.out.println(Math.ceil(examAvg)); } } Question 20 (1 point) Question 20 Unsaved What is the output of the following fragment? int i = 1; int j = 1; while (i < 5) { i++; j = j * 2; } System.out.println(j); Question 21 (1 point) Question 21 Unsaved What method would you use in the Scanner class to read an int from standard input in Java? Question 22 (1 point) Question 22 Unsaved What is y after the following for loop statement is executed? int y = 0; for (int i = 0; i < 10; i++) { y += 1; } Question 23 (1 point) Question 23 Unsaved The following Java code contains valid brace placement according to the Google style guide public class MyClass { public static void main(String[] args) { System.out.println("Welcome to CMIS 141"); } // End of main } // End class Question 24 (1 point) Question 24 Unsaved Analyze the following two code fragments. (i) int x = 5; if (0 < x) && (x < 100) System.out.println("x is between 1 and 100"); (ii) int x = 5; if (0 < x && x < 100) System.out.println("x is between 1 and 100"); Question 25 (1 point) Question 25 Unsaved How would you construct an instance of scanner class that will read from the standard input (keyboard) in Java?

Question 1 (1 point) Question 1 Unsaved According to the Google style guide, Java variable and class names should be named using UpperCamelCase. Question 2 (1 point) Question 2 Unsaved Analyze the following code: public class Test { public static void main (String args[]) { int i = 0; for (i = 0; i =

Question 1 (1 point) Question 1 Unsaved According to the Google style guide, Java variable and class names should be named using UpperCamelCase. Question 2 (1 point) Question 2 Unsaved Analyze the following code: public class Test { public static void main (String args[]) { int i = 0; for (i = 0; i = 1) { if (balance 0); { System.out.println(“x”); } Question 11 (1 point) Question 11 Unsaved What is the value of balance after the following code is executed? int balance = 10; while (balance >= 1) { if (balance < 9) { continue; } balance = balance – 9; } Question 12 (1 point) Question 12 Unsaved Using the Google style guide document, select the proper declaration of a Java constant. Question 13 (1 point) Question 13 Unsaved Analyze the following code. int x = 1; while (0 < x) && (x < 100) System.out.println(x++); Question 14 (1 point) Question 14 Unsaved How many times will the following code print "Welcome to Java"? int count = 0; do { System.out.println("Welcome to Java"); count++; } while (count 9) { if (y > 8){ System.out.println(“x > 9 and y > 8”); } else if (z >= 7){ System.out.println(“x = 7”); } else { System.out.println(“x <= 9 and z < 7"); } } Question 17 (1 point) Question 17 Unsaved How many times does the following loop iterate? public class Quizzes { public static void main(String args[]){ int cnt = 1; int maxLoop = 30; while (cnt < maxLoop) { if (cnt==3) { break; } cnt++; } } } Question 18 (1 point) Question 18 Unsaved What is the output of the following Java code? ___________________ public class Quizzes { public static void main(String args[]){ String string1 = "CMIS141 "; String string2 = "is all"; String string3 = "about Java!"; String concat = string3.concat(string2).concat(string1); System.out.println(concat.length()); } } Question 19 (1 point) Question 19 Unsaved What is the output of the following Java code: ____________________. public class Quizzes { public static void main(String args[]){ double examAvg = 85.9983; System.out.println(Math.ceil(examAvg)); } } Question 20 (1 point) Question 20 Unsaved What is the output of the following fragment? int i = 1; int j = 1; while (i < 5) { i++; j = j * 2; } System.out.println(j); Question 21 (1 point) Question 21 Unsaved What method would you use in the Scanner class to read an int from standard input in Java? Question 22 (1 point) Question 22 Unsaved What is y after the following for loop statement is executed? int y = 0; for (int i = 0; i < 10; i++) { y += 1; } Question 23 (1 point) Question 23 Unsaved The following Java code contains valid brace placement according to the Google style guide public class MyClass { public static void main(String[] args) { System.out.println("Welcome to CMIS 141"); } // End of main } // End class Question 24 (1 point) Question 24 Unsaved Analyze the following two code fragments. (i) int x = 5; if (0 < x) && (x < 100) System.out.println("x is between 1 and 100"); (ii) int x = 5; if (0 < x && x < 100) System.out.println("x is between 1 and 100"); Question 25 (1 point) Question 25 Unsaved How would you construct an instance of scanner class that will read from the standard input (keyboard) in Java? Read More »

Scroll to Top