Exam //
1 /
CNMT
/ /
110 - 01 UWSP QUESTIONS WITH CORRECT ANSWERS
/ // // // // // // // //
What /
/is /
/the /
/functionality //of //a //Java //Virtual //Machine? //- //CORRECT //ANSWERS(S)✔✔executes //a //program
What //will //a //Java //statement //end //with? //- //CORRECT //ANSWERS(S)✔✔semi-colon
What /
/is /
/the /
/difference /
/between //byte //code //and //source //code //in //Java? //- //CORRECT //ANSWERS(S)✔✔Source //code //is
//read //by //a //java //compiler, //while //byte //code //is //produced //by //a //java //compiler
What //is //the //extension //of //a //Java //source //file? //- //CORRECT //ANSWERS(S)✔✔.java
What /
/is //
a/
/program? //- /
/CORRECT /
/ANSWERS(S)✔✔a /
/sequence //of //instructions //a //computer //follows //in //order //to //perform //a //specific //task
, What //is //an //algorithm? //- //CORRECT //ANSWERS(S)✔✔a //sequence //of //well-
defined //logical //steps //for //performing //a //task //or //solving //a //problem
What /
/is /
/the /
/difference /
/between /
/character /
/and /
/string /
/literals? //- /
/CORRECT //ANSWERS(S)✔✔enclosed //in //single //quotation //marks //vs. //the //representation //of //a
//string //value
What /
/is /
/the /
/scope /
/of //
a/
/variable? //- /
/CORRECT /
/ANSWERS(S)✔✔A /
/variable's //scope //is //the //part //of //the //program //that //has //access //to //the //variable
What /
/is //a //constant? //- //CORRECT //ANSWERS(S)✔✔special //kind //of //variable //whose //value //can //NOT
//be //changed //after //itis //initialized
Is //Java //case //sensitive? //- //CORRECT //ANSWERS(S)✔✔Yes, //case //sensitivity
1 /
CNMT
/ /
110 - 01 UWSP QUESTIONS WITH CORRECT ANSWERS
/ // // // // // // // //
What /
/is /
/the /
/functionality //of //a //Java //Virtual //Machine? //- //CORRECT //ANSWERS(S)✔✔executes //a //program
What //will //a //Java //statement //end //with? //- //CORRECT //ANSWERS(S)✔✔semi-colon
What /
/is /
/the /
/difference /
/between //byte //code //and //source //code //in //Java? //- //CORRECT //ANSWERS(S)✔✔Source //code //is
//read //by //a //java //compiler, //while //byte //code //is //produced //by //a //java //compiler
What //is //the //extension //of //a //Java //source //file? //- //CORRECT //ANSWERS(S)✔✔.java
What /
/is //
a/
/program? //- /
/CORRECT /
/ANSWERS(S)✔✔a /
/sequence //of //instructions //a //computer //follows //in //order //to //perform //a //specific //task
, What //is //an //algorithm? //- //CORRECT //ANSWERS(S)✔✔a //sequence //of //well-
defined //logical //steps //for //performing //a //task //or //solving //a //problem
What /
/is /
/the /
/difference /
/between /
/character /
/and /
/string /
/literals? //- /
/CORRECT //ANSWERS(S)✔✔enclosed //in //single //quotation //marks //vs. //the //representation //of //a
//string //value
What /
/is /
/the /
/scope /
/of //
a/
/variable? //- /
/CORRECT /
/ANSWERS(S)✔✔A /
/variable's //scope //is //the //part //of //the //program //that //has //access //to //the //variable
What /
/is //a //constant? //- //CORRECT //ANSWERS(S)✔✔special //kind //of //variable //whose //value //can //NOT
//be //changed //after //itis //initialized
Is //Java //case //sensitive? //- //CORRECT //ANSWERS(S)✔✔Yes, //case //sensitivity