Answer 1 :
7 - 15 / 3 - True
Justification - combination of mathematical symbols (such as
addition '+'
, subtraction '-'
,
multiplication '*'
, division '/'
) can
directly give result
Answer 2:
Scanf("%d",& num) - Num is Integer - True
Justification - %d means we are looking for integer
Answer 3:
Option - D
Justification - It must not start with number. It can be followed only by any number alphabets, or digits or underscores
C language 7-15 3 evaluate to 2 True False In scanf("%d", &num); 'num' is integer variable...
Name: True/False & Multiple Choice (2 points each) (True / False ) 2 A char literal '2', a string literal "2", and the numeric literal 2 are identical and stored the same way though they are different types. 3 Since comments do not affect the program execution, you don't need to have it at all. 4. After the following statements are executed, the value of the variable rem is 3. 1. A preprocessor directive line starts with a pound sign...
2-Many programming languages facilitate programming in more than one paradigm. TRUE OR FALSE 3-If a language is purposely designed to allow programming in many paradigms is called a _______________ language. What term goes in the blank? A: compiled B: interpreted C: multi-access D: multi-paradigm E: procedural 4-A "Hello, World!" program is used to do which of the following? A: Configure the compiler cache for optimizing results. B: Illustrate the basic syntax of a programming language and often is the very...
1). The result of Java expression 5*7>3*(5+2) && 3*5-4<6 is ____ a. 35>35&&9<6 b. true && false c. false d. False (2). You save text files containing Java language source code using the file extension___ a. .java b. .class c. .txt d. .src (3). Which of the following is not a primitive data type in the Java programming language? a. boolean b. byte c. int d. Point (4). Given the Java statement int[][] vari = new int[5][7]; the value...
QUESTION 7 Which of the following is a valid C++ assignment statement? (assume each letter is a different variable) A.y=b-c B.y +z = x C.x = a bi D.x = -(y*z): Ex = (x + (y z): QUESTION 8 Which of the following is a valid variable name according to C++ naming rules? A 2ndName B.%Last_Name C@Month D#55 Eyear03 QUESTION 9 Which library must be included to enable keyboard input? A kbdin B. cstdlib C input Diostream E lomanip QUESTION...
#7. TRUE/FALSE. Determine the truth value of each sentence (no explanation required). ________(a) k in Z k2 + 9 = 0. ________(b) m, n in N, 5m 2n is in N. ________(c) x in R, if |x − 2| < 3, then |x| < 5. #8. For each statement, (i) write the statement in logical form with appropriate variables and quantifiers, (ii) write the negation in logical form, and (iii) write the negation in a clearly worded unambiguous English sentence....
True or False: Python programs require two or more modules. 1. 2. The keyword while means the same thing as While in Python. 3. In Python, _MyVar15 is a valid variable name. 4. To make your program more secure, use obscure variable names such as xz14dEE 5. Indenting code that should be executed when an if statement evaluates as true makes your program easier to read, but the indentation is not necessary. 6. A dictionary object contains zero or more...
tafp 150 quiz 3
Viscosity does not change with temperature. A. true B false 2. The primary function of the liquid in hydraulic system is to A. clean system parts B. remove heat from the system C. transmit energy to do the work the system is designed to D. prevent rust and corrosion of system components 3. The amount of friction is constant, even with varying forces pu the surfaces together. A true B. false 4. The cleanliness of the...
Some questions may require well bulum 1. HDL stands for? a. Hardware Design Language b. Hardware Development Language c. Hardware Description language d. Hot Dry Land 2. What is the basic building unit of a VHDL design? a. Blocks b. Cubes c . Dices d. Bricks 3. What reserved word do all VHDL entities end with? a. entity b. use c. port d. end d. IEEE 4. Which block describes a design's interface? a. entity b. architecture c. library 5....
visual basic help
DI Question 3 2 pts You may only bind an object to a control that the computer creates for you O True O False D | Question 4 2 pts The Do..Loop statement can be used to code both a pretest loop and a posttest loop. True False Question 5 2 pts You can prevent many unintentional errors from occurring in an application by declaring the variables using the maximum scope needed. True False 2 pts Question...
Name Adrian Perez Test 2 Accounting 202 Chapters 19,20,21,22 True / False 1 point 1. An activity index identifies the activity that has a causal relationship with a particular cost. 2. 3. 4. A variable cost remains constant per unit at various levels of activity. A fixed cost remains constant in total and on a per unit basis at various levels of activity I volume increases, all costs will increase. 5. 6. If the activity index decreases, total variable costs...