The command javac  
A) Converts a java program into binary code
B) Converts a java program into bytecode
C) Converts a java program into machine language
D) None of the above.

1 Answer

Answer :

B) Converts a java program into bytecode

Related questions

Description : The command javac is used to A) debug a java program B) compile a java program C) interpret a java program D) execute a java program

Last Answer : B) compile a java program

Description : Match the following. a) Java 1) is a tool for debugging java program b) Javah 2) is a tool for creating C-like header files c) Javap 3) runs java bytecode d) jdb 4) prints java code representation A) a-3, b-2,c-1 B) a-3, b-1, c-4, d-2 C) a-1, b-2, c-3, d-4 D) a-2, b-1, c-3, d-4

Last Answer : B) a-3, b-1, c-4, d-2

Description : Native – protocol pure Java converts ……….. into the ………… used by DBMSs directly. A) JDBC calls, network protocol B) ODBC class, network protocol C) ODBC class, user call D) JDBC calls, user call

Last Answer : A) JDBC calls, network protocol

Description : What is a compiler? A) A compiler does a conversion line by line as the program is run B) A compiler converts the whole of a higher level program code into machine code in one step C) A compiler is a general purpose language providing very efficient execution D) None of the above

Last Answer : Answer : B

Description : The translator program that converts source code in high level language into machine code line by line is called - 1) Assembler 2) Compiler 3) Loader 4) Interpreter

Last Answer : 4) Interpreter

Description : The compiled java program can run on any ..................... plateform having Java Virtual Machine (JVM) installed on it. A) program B) java C) hardware D) non java

Last Answer : C) hardware

Description : Which of the following are the principles tasks of the linker? I. Resolve external references among separately compiled program units. II. Translate assembly language to machine code. III. Relocate code and data relative to the beginning of ... (A) I and II (B) I and III (C) II and III (D) I and IV

Last Answer : (B) I and III

Description : A software company needs to develop a project that is estimated as 1000 function points and is planning to use JAVA as the programming language whose approximate lines of code per function point is accepted as 50. Considering a=1. ... ? (1) 11.2 months (2) 12.2 months (3) 13.2 months (4) 10.2 months

Last Answer : Generally, any projects are measured in weeks. However, the complex project might take more time depending on the level of object re-use available.

Description : Which one of the following is correct? (A) Java applets cannot be written in any programming language (B) An applet is not a small program. (C) An applet can be run on its own. (D) Applets are embedded in another applications. 

Last Answer : (D) Applets are embedded in another applications.

Description : Which language processor converts an HLL program into machine language at once? -Technology

Last Answer : Compiler is a language processor which converts whole HLL program into machine language at once which can be understood by the processor.

Description : A computer program that converts an entire program into machine language is called a/an A) Interpreter B) Simulator C) Compiler D) Commander

Last Answer : Answer : C

Description : A computer program that converts an entire program into machine language at one time is called a/an A) Interpreter B) CPU C) Compiler D) Simulator

Last Answer : Answer : C

Description : A computer program that converts an entire program into machine language is called a/an a. Interpreter b. Simulator c. Compiler d. Commander

Last Answer : Compiler

Description : ______ is an application that converts a programming language into a machine language program: a) Converter b) Compiler c) Encryption d) None of These

Last Answer : b) Compiler

Description : A computer program that converts an entire program into machine language at one time is called a/an a. interpreter b. simulator c. compiler d. commander

Last Answer : c. compiler

Description : A computer program that converts an entire program into machine language is called a/an a. Interpreter b. Simulator c. Compiler d. Commander

Last Answer : c. Compiler

Description : A computer program that converts an entire program into machine language is called a/an a. Interpreter b. Simulator c. Compiler d. Commander

Last Answer : c. Compiler

Description :  A computer program that converts one by one instruction into a machine language is called ____.  a) Interpreter b) Simulator c) Compiler d) None of the above

Last Answer :  A computer program that converts one by one instruction into a machine language is called Interpreter.

Description : A computer program that converts an entire program into a machine language is called ____.  a) Interpreter b) Simulator c) Compiler d) None of the above

Last Answer : A computer program that converts an entire program into a machine language is called Compiler.

Description : A compiler translates a program written in a high-level language into a) Machine language b) An algorithm c) A debugged program d) Java e) None of these

Last Answer : a) Machine language

Description : What is significance of import java.io.* in your program?

Last Answer : A: The line imports all the classes of the java.io package into the current program.

Description : State true or false for Java Program. i) Data members of an interface are by default final ii) An abstract class has implementations of all methods defined inside it. A) i-false, ii-false B) i-false, ii-true C) i-true, ii-false D) i-true, ii-true

Last Answer : C) i-true, ii-false

Description : State true or false for Java Program. i) All class variables are instance variables ii) All protected methods are friendly methods A) i-false, ii-false B) i-false, ii-true

Last Answer : B) i-false, ii-true

Description : System.in.read() is being used, the program must specify the .................. clause. A) throws.java.out.IOException B) throws.java.in.IOException C) throws.java.io.IOException D) throws.java.io.InException

Last Answer : C) throws.java.io.IOException

Description : The jdb is used to A) Create a jar archive B) Debug a java program C) Create C header file D) Generate java documentation

Last Answer : B) Debug a java program

Description : Consider the following JAVA program: public class First { public static int CBSE (int x) { if (x < 100) x = CBSE (x +10); return (x - 1); } public static void main (String[] args){ System.out.print(First.CBSE(60)); } } What does this program print? (1) 59 (2) 95 (3) 69 (4) 99

Last Answer : (2) 95 

Description : Is Java an Object Oriented language?

Last Answer : A: Yes.

Description : Java has its origin in A) C programming language B) PERRL C) COBOL D) Oak programming language

Last Answer : D) Oak programming language

Description : The pure object oriented programming language with extensive metadata available and modifiable at run time is (A) Small talk (B) C++ (C) Java (D) Eiffel

Last Answer : (A) Small talk

Description : ……………. are not machine instructions and therefore, Java interpreter generates machine code that can be directly executed by the machine that is running the Java program. A) Compiled Instructions B) Compiled code C) byte code D) Java mid code

Last Answer : C) byte code

Description : What is the function of following UNIX command? WC - lb& (A) It runs the word count program to count the number of lines in its input, a, writing the result to b, as a foreground process. (B) It runs ... (D) It copies the l ' numbers of lines of program from file, a, and stores in file b.

Last Answer : (B) It runs the word count program to count the number of lines in its input, a, writing the result to b, but does it in the background.

Description : Binary code "0" means ............ A) State of absence B) State of presence C) State of Negative D) State of Positive

Last Answer : B) State of presence

Description : The Excess-3 decimal code is a self-complementing code because (A) The binary sum of a code and its 9’s complement is equal to 9. (B) It is a weighted code. (C) Complement can be generated by inverting each bit pattern. (D) The binary sum of a code and its 10’s complement is equal to 9.

Last Answer : Answer: A, C

Description : In a binary Hamming code the number of check digits is r then number of message digits is equal to: (A) 2r-1 (B) 2r-r-1 (C) 2r-r+1 (D) 2r+r-1

Last Answer : (B) 2r-r-1

Description : Let C be a binary linear code with minimum distance 2t + 1 then it can correct upto ............bits of error. (1) t + 1 (2) t (3) t - 2 (4) t/2

Last Answer : (2) t 

Description : Which language was used to program Second Generation computers? (A) Binary Coded language (B) Assembly language (C) Machine language (D) None of the Above

Last Answer : (B) Assembly language

Description : What is a bytecode ?

Last Answer : Bytecode Object-Oriented Based Programming ( OOP) code compiled to run a virtual machine (VM) instead of a central processing unit ( CPU) . VM converts program code into readable machine language for ... There are class extensions. This term is known as portable code (P-code) and intermediate code.

Description : What is the purpose of Ctrl + I shortcut key in MS - Word: a) It converts selected text into the next larger size of the same font. b) It applies the Italic formatting to the selected text. c) It makes the selected text bold d) It adds a line break to the document. e) None of The Above

Last Answer : b) It applies the Italic formatting to the selected text.

Description : program converts machine instructions into control signals. a. Control memory program b. Control store program c Botha&b d. Only memory

Last Answer : c Botha&b

Description : converts high level language into machine language is (a) assembler (b) compiler (c) interpreter -Technology

Last Answer : (d) Both compiler and interpreter are language processors that converts high level language into machine language.

Description : Which one of the following converts assembly language into machine language ? (1) Algorithm (2) Interpreter (3) Compiler (4) Assembler

Last Answer : Assembler

Description : The compiler converts all operands upto the type of the largest operand is called (A) Type Promotion (B) Type Evaluation (C) Type Conversion (D) Type Declaration

Last Answer : (A) Type Promotion 

Description : C programs are converted into machine language with the help of A) An Editor B) A complier C) An operating system D) None of the above

Last Answer : B) A complier

Description : Which is a programme that converts high level language to machine language? -Do You Know?

Last Answer : answer:

Description : What is Machine Translation? a) Converts one human language to another b) Converts human language to machine language c) Converts any human language to English d) Converts Machine language to human language

Last Answer : a) Converts one human language to another

Description : A Compiler is a software which converts (A) Characters to bits (B) High level language to machine language (C) Machine language to high level language (D) Words to bits

Last Answer : (B) High level language to machine language

Description : Before checking the program for errors in translating code into machine language the high level language code is loaded into __ a. Register b. Memory c. Data d. CPU

Last Answer : b. Memory

Description : What is the default java package?

Last Answer : A: java.lang