ANS 14. Add binary value 11 with 1, what is the sum in binary digits? 15. You wr
ID: 3753675 • Letter: A
Question
ANS 14. Add binary value 11 with 1, what is the sum in binary digits? 15. You write a program looks like an English composition, it is called what? ANS 16. A java source program must be saved as with what file extension? ANS 17. What command, under DOS (Disk Operating System or called Console), you can use to compile a java source program with name of MyClass.java? AN 18. What is the name of the output file of the java compiler when a java program named: MyFirstJava.java is compiled with no syntax error? AN 19. What is the command under DOS to run a java bytecode file called MyProgram.class? AN 20. Is the java bytecode a binary code file? If not, write the DOS command to run (execute) of the bytecode file ANExplanation / Answer
14)
Answer:
adding binary value 11 with 1 = 11 +1 = 100
sum = 100
explanation: we have to add 1 to LSD bit of 11
adding 1+1 gives =10, so here carry is 1
and it is add to second 1 form LSD
so finally : sum =100
15)
Answer:
it called a high level langugage
explanation: high level languages are designed in english composition
16)
Answer:
java source program must be saved with .java extension
17)
Answer:
to compile command is
javac MyClass.java
18)
Amswer:
when
MyFirstJava.java is compiled
the output file generated is
MyFirstJava.class
19)
Answer:
The command to java bytecode file MyProgram.class
java MyProgram
20)
Answer:
java bytecode file is not exactly binary code file
command to execute bytecode file is
java filename
//if you find this helpful pls give a thumbs up, thanks
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.