Question 29 (Mandatory) (1 point) Assume a column C in a correctly written truth table contains...
Assume a column C in a correctly written truth table contains the values for a boolean expression that consists of six distinct boolean variables. Under this assumption, if C contains 7 values of true, then how many values of false are in C? 25 none of the other answers are correct 16 1 64
Assume a column C in a correctly written truth table contains the values for a boolean expression that consists of five distinct boolean variables. Under this assumption, if C contains 3 values of false, then how many values of true are in C? 29 1 64 none of the other answers are correct 16
Question 62 (Mandatory) (1 point) Immediately after all of the following Java source code is executed, how many bits of memory are used to store all of the integer values in y? int[][] y = new int[2][2]; 00 none of the other answers are correct 20 16 64
Question 68 (Mandatory) (1 point) When the Java source code below is executed, how many times is the boolean expression (j > 0) evaluated? = int i 1; int p 0; while (i <= 2) for(int j = 28; (j > 0); j /= 2) { p+= 5; { } i i + 1; مه none of the other answers are correct 12 6 18
Question 14 (Mandatory) (1 point) Immediately after all of the following Java source code is executed, how many bytes of memory are used to store the all of the integer values in y? int[] [] y = new int[3] []; y[0] new int [2]; y[1] new int[1]; y[2] = new int[2]; none of the other answers are correct 12 64 20 00
Question 29 (Mandatory) (1 point) Which of the following is true about the kinetic molecular theory? U a) The volume of a gas particle is considered to be small-about 0.10 mL. U b) Pressure is due to the collisions of the gas particles with the walls of the container, U C) Gas particles repel each other, but do not attract one another. u d Adding an ideal gas to a closed container will cause an increase in temperature. u e)...
this is true and false for C++ (1 point each) Circle T for true or F for false for the following questions. 1. T/F The Boolean expression b1 || b2 evaluates to true if either Boolean value (b1, b2) is true. T/F The code we write in C++ (e.g. code in file project1.cpp) is referred to as source code. 2. 3. T/F The statement float scores[3][3] creates 3 arrays, each containing 3 floating-point variables. T/F For loops work best when...
QUESTION 2 Boolean or "truth-valued" expressions are how we express conditions that control choices and repetition in computer languages. Consider the following Python Boolean expression, where variables alpha, beta, and gamma are of type Boolean: alpha and (beta or gamma) In any algebraic notation there are usually several different ways of writing the same expression. For instance, in integer arithmetic the value of expression '4 x (5 + 2)' is numerically equivalent to that of expression '(4 x 5) +...
Question 1 When you declare a variable of type Single, it contains 0 by default. True False Question 2 The following line declares an array that can contain whole numbers, with 10 elements. Dim Variables(9) As Integer True False Question 3 Once a variable is declared we can not change the variable's data type. True False Question 4 If A is False and B is True, then A Or B is True because A is False. True False Question 5...