29. What is the deeimal equivalent to the hex number 55? A. 4 B. 4 C. 85 D. 55 E
ID: 3915809 • Letter: 2
Question
29. What is the deeimal equivalent to the hex number 55? A. 4 B. 4 C. 85 D. 55 E none of the above 30. What ty pe of error do you get while compiling your program? A. linker B. object C. run-time D. syntax E. flat out of luck Which library must be included to enable formatted output? 31. A text B. util math D. cstdlib E iomanip 32. What is the lowest level programming language? A. assembly language B. 5GL language C. 4GL language D. machine language E high-level language 33. Using sample data to verify your design is correct is called? A. desk checking B. encapsulation C. due diligence D. documentation E. analysis 34, A sentinelfflag value must be- A. within the range of acceptable values. B. of the same data type as acceptable values C. both within the range of acceptable values and of the same data type as acceptable values. D. outside the range of acceptable values and of a different data type than acceptable values E. outside the range of acceptable values but of the same data type as acceptable values. 35. A Java compiler first translates Java high-level instructions into what form? A. source code B. machine code C. object code D. bytecode E. unicode 36. Blocks of code in Java (body of a function, body of an if statement, body of a loop, etc.) are surrounded by A. parentheses ) B. angle brackets C. set braces D square brackets 1 hoice: th:Explanation / Answer
29
D.55
30
D.syntax
When the compiler is compiling your code (i.e., converting your code into instructions the machine understands), it will report problems that it finds in your code.
31
A.Text
import java.text.DecimalFormat;
32
A. Assembly language
A low-level programming language is a programming language that provides little or no abstraction from a computer's instruction set architecture—commands or functions in the language map closely to processor instructions. Generally this refers to either machine code or assembly language.
33. Encapsulation
A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data
34. Both within the range of acceptable values and of the same data type as acceptable values.
In computer programming, a sentinel value (also referred to as a flag value, trip value, rogue value, signal value, or dummy data) is a special value in the context of an algorithm which uses its presence as a condition of termination, typically in a loop or recursive algorithm.
35. bytecode
The Java compiler translates Java programs into a language called Java bytecode.Although bytecode is similar to machine language, it is not the machine language of any actual computer. A Java interpreter is used to run the compiled Java bytecode program. (Each type of computer needs its own Java bytecode interpreter, but all these interpreters interpret the same bytecode language.)
36. Set braces { } // check below example everything starts with braces
if(Boolean_expression) {
// Executes when the Boolean expression is true
}else {
// Executes when the Boolean expression is false
}
class GFG {
// Driver Code
public static void main(String args[])
{
}
while(Boolean_expression) {
// Statements
}
for(initialization; Boolean_expression; update) {
// Statements
}
do {
// Statements
}while(Boolean_expression);
if you got your answers satisfaction then please appreciate my post with thumbs up , Thanks a lot .... :)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.