Question: This project aims to generate several randomly ordered booklet and their answer sheet from a single input exam sample file. The program receives an input

This project aims to generate several randomly ordered booklet and their answer sheet from a single input exam sample file. The program receives an input text file with a restricted format
(
Check the sample input file, sample.txt
)
containing tens of multiple
-
choice questions
(
assume N questions
)
and the correct answer to each question. then the user determines how many booklets
(
assume m
)
with how many questions
(
assume n
<
=
N
)
should be generated. As the output file, the program generates
2
files for each booklet, one for the questions and one for the answer sheet. in the booklets, the order of the questions should be random, and the options should be randomly changed.
Q
1
: Each class you create becomes a new
_
_
_
_
_
_
_
_
that can be used to declare variables and create objects.
a
.
package
b
.
instance
c
.
library
d
.
type.
ANS: d
.
Q
2
: You can declare new classes as needed; this is one reason Java is known as a
(
n
)
_
_
_
_
_
_
_
_
language.
a
.
portable
b
.
incremental
c
.
extensible
d
.
virtual
ANS: c
.
Q
3
: Which of the following statements is false?
a
.
Each class declaration that begins with the access modifier private must be stored in a file that has the same name as the class and ends with the
.
java filename extension.
b
.
Every class declaration contains keyword class followed immediately by the class
s name.
c
.
Class, method and variable names are identifiers.
d
.
An object has attributes that are implemented as instance variables and carried with it throughout its lifetime.
ANS: a
.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!