CSC142 – Quiz 1 1. Multiple Choice Questions (10 points). Answer all of the
following questions. ... What is the name of the java file containing this program?
CSC142 – Quiz 2 1. Multiple Choice ... Answer all of the following questions.
READ EACH ... In Java, elements of an array are automatically initialized to some
.
Multiple Choice Questions (20 points). Answer all of the following ... Which of the
following is TRUE about the switch statement in Java? A. A default sends ...
This exam consists of 10 multiple-choice questions (Part I) and 3 open questions
... 1) What is the language of the grammar with the following production rules?
10 Tips on Writing Good Multiple Choice Questions. Karen A. Garman Ed.D.,
MAPP, President, HELP, Inc. Healthcare Education, Leadership & Performance,
Inc ...
The Board of Management and Trustees of the British Journal of ... Multiple
choice questions ... (b) Oesophageal echo uses a modified Fick principle to
enable.
Multiple Choice Questions. 11. 1. ... Sound financial management ensures that: a.
Sufficient funding ... Finance is obtained at the least possible cost c. Finance is ...
Practice Multiple Choice Questions: 1) ... An example of a chemical property is: a)
... Atoms of different elements have different chemical and physical properties.
Remote sensing exercises for INF-GEO 4310. Multiple Choice Questions. • Each
exercise has five alternatives, and one alternative is correct. Here you will get 4 ...
System Analysis and Design/ Object-Oriented System Modeling Multiple Choice
Questions. 9.1 Computer systems are designed by a. simplifying requirements ...
(e) Characteristic findings in the Brown-Sequard syndrome are. Multiple Choice
Questions. British Journal of Anaesthesia | CEPD Reviews | Volume 2 Number 5
...
54. The following factors predispose to arrhythmias during anaesthesia for
dentistry: (a) Adenotonsillar hypertrophy. (b) I.V. induction. (c) Sevoflurane ...
System Analysis and Design/Information Gathering. Multiple Choice Questions. V
. Rajaraman/IISc. Bangalore. M2/V1/July 04/1. Systems Analysis and Design ...
System Analysis and Design/Case Tools. Multiple Choice Questions. 14.1 The
expansion of CASE tools is: a. Computer Assisted Self Evaluation b. Computer ...
System Analysis and Design/Structured Systems Analysis and Design Multiple
Choice Questions. 6.1 Structured English is used to describe a. how programs ...
CHAPTER 7: ENVIRONMENTAL ENGINEERING PRINCIPLES .................. 25 ..... This book gives multiple choice questions for selected courses in Chemical. Engineering. ..... S., âA Brief Insight into the Science of Nanofiltration and Membrane Separati
(MCQ), where students must express a precise choice to answer a question, without ... educational adaptive hypermedia systems [1] to update the knowledge ...
Teaching and Learning Center | Help Desk (877) 972-5249. Constructing
Multiple-Choice Questions. Writing the Stem. • Include the central idea in the
stem.
INDIAN JOURNAL OF MEDICAL & PAEDIATRIC ONCOLOGY. Vol. 29 No 2,
2008. 55. Multiple choice questions ... Surgical resection of disease and.
Multiple Choice Questions ... Anaesthetic management of patients with cystic
fibrosis (CF) .... (a) Transformers are based on the principles of conductance.
CHEMICAL KINETICS . Multiple Choice Questions. 1. Which of these change
with time for a first-order reaction? I. rate of reaction. II. rate constant. III. half—life.
Multiple Choice Questions. 13.1 By Electronic Commerce we mean: a.
Commerce of electronic goods b. Commerce which depends on electronics c.
Commerce ...
Page. MULTIPLE CHOICE QUESTIONS FOR. CHEMICAL ENGINEERING ...... steady state and non-steady state systems, process optimization techniques as ...
As used in the text, the term âsweat-equityâ. (lines 52 and 53) refers to. (1) time invested in loan applications. (
Multiple Choice Questions (10 points). Answer all of the following questions. ...
compiler). 2. E. The more comments in a program, the faster the program runs.
CSC142 – Quiz 1 1
Multiple Choice Questions (10 points) Answer all of the following questions. READ EACH QUESTION CAREFULLY. Fill the correct bubble on your scantron sheet. Each correct answer is worth 1 point. Each question has EXACTLY one correct answer. 1.
Consider the following program: import myLibrary.*; public class ShowSomeClass { // code for the class... }
What is the name of the java file containing this program? A. B. C. D. E. 2.
myLibrary.java ShowSomeClass.java ShowSomeClass ShowSomeClass.class Any file name with the java suffix will do
Which of the following is TRUE? A. B. C. D.
In java, an instance field declared public generates a compilation error. int is the name of a class available in the package java.lang Instance variable names may only contain letters and digits. A class has always a constructor (possibly automatically supplied by the java compiler). E. The more comments in a program, the faster the program runs.
3.
Consider the following code snippet String river = new String(“Columbia”); System.out.println(river.length());
What is printed? A. B. C. D. E.
6 7 8 Columbia river
CSC142 – Quiz 1 2
4.
A constructor A. B. C. D. E.
5.
Which of the following may be part of a class definition? A. B. C. D. E.
6.
instance variables instance methods constructors all of the above none of the above
What is different between a Java applet and a Java application? A. B. C. D. E.
7.
must have the same name as the class it is declared within. is used to create objects. may be declared private A and B A, B and C
An application can in general be trusted whereas an applet can't. An applet must be executed in a browser environment. An applet is not able to access the files of the computer it runs on (A), (B) and (C). None of the above
Consider public class MyClass{ public MyClass(){/*code*/} // more code... } To instantiate MyClass, you would write? A. B. C. D. E.
8.
MyClass mc = new MyClass(); MyClass mc = MyClass(); MyClass mc = MyClass; MyClass mc = new MyClass; It can't be done. The constructor of MyClass should be defined as public void MyClass(){/*code*/}
What is byte code in the context of Java? A. B. C. D. E.
The type of code generated by a Java compiler The type of code generated by a Java Virtual Machine It is another name for a Java source file It is the code written within the instance methods of a class. It is another name for comments written within a program.
CSC142 – Quiz 1 3
9.
What is garbage collection in the context of Java? A. The operating system periodically deletes all of the java files available on the system. B. Any package imported in a program and not used is automatically deleted. C. When all references to an object are gone, the memory used by the object is automatically reclaimed. D. The JVM checks the output of any Java program and deletes anything that doesn't make sense. E. Janitors working for Sun MicroSystems are required to throw away any Microsoft documentation found in the employees' offices.
10. You read the following statement in a Java program that compiles and
executes. submarine.dive(depth); What can you say for sure? A. B. C. D. E.
depth must be an int dive must be a method. dive must be the name of an instance field. submarine must be the name of a class submarine must be a method.