Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 : 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 : 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 : 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
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
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
: 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
: 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
: 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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started