0% found this document useful (0 votes)
51 views3 pages

Comp 7

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views3 pages

Comp 7

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

• Diagram representing the logical sequence in - KEYWORD

which a combination of steps or operations is • It is used to explain Java code, to make it


to be performed more readable, and can be used to prevent
- FLOWCHART execution when testing alternative code
• Which operator is used to add together two - COMMENTS
values? • Refers to a block of code that only runs when
- + it is called and used to perform a certain action
• High-level programming language is more - METHOD
user-friendly, to some extent platform • Java technology that provides you with a
independent, and abstract from low-level large suite of tools such as compiler,
computer processor operations. interpreter, documentation generator, and a
- TRUE class file packaging tool
• Give the O/P. - DEVELOPMENT ENVIRONMENT
Int age= 5; • Flowchart symbol that represents the
If (age > 6) beginning, the end, or a point of interruption or
System.out.println("John is getting ice cream"); delay in a program
else - TERMINAL
System.out.println("John is getting apple • The two main deployment environment is the
juice"); Java runtime environment or JRE and the web
System.out.println("John is getting grapes); browser,
- JOHN IS GETTING APPLE JUICE - TRUE
JOHN IS GETTING GRAPES • Which of these is used to add a third, fourth,
• Java operators used to perform common etc outcome to a scenario?
mathematical operations - ELSE IF
- ARITHMETIC • Mass-produced, copyrighted retail software
• As a programming language, Java can create that meets the needs of a variety of users.
all kinds of applications that you could create - PACKAGED SOFTWARE
using any conventional programming language. • Popular programming languages and object
- TRUE oriented language give a clear structure to
• High-level programming language is more programs, allow code to be reused, and lower
user-friendly, to some extent platform development costs.
independent, and abstract from low-level - JAVA
computer processor operations. • Refers to the computer-based global
- TRUE information system and composed of many
• After creating your program, compile the interconnected computer networks
program by using the Java Compiler. - INTERNET
- TRUE • How do you create a method in Java?
• Internet communications service that notifies - METHODNAME()
you when one or more people are online and • Java technology applications are typically
then allows you to exchange messages or files general-purpose programs that run on any
or join a private chat room with them machine where the Java runtime environment
- INSTANT MESSAGING is installed.
• Refers to the reserved words that cannot be - TRUE
used as variables, method, classes, or any
other identifiers
• List of instructions for carrying out a process • The arithmetic operator that returns the
and a procedure for solving problem in terms of division remainder
the actions to be executed and the order in - % MOD OPERATOR
which these actions are to be executed • What are the three main programming
- ALGORITHM structures?
• What is the correct syntax to output "Hello - SEQUENCE, DIVISION, REPITITION
WIT" in Java? • It is used to perform operations on variables
- SYSTEM.OUT.PRINTLN(“HELLO WIT”) and values in Java
• Making illegal copies of copyrighted software - OPERATORS
- SOFTWARE PIRACY • Every line of code that runs in Java must be
• Process of correcting programming error inside a class and should always start with an
- DEBUGGING uppercase first letter.
• Java variable type that stores single - TRUE
characters surrounded by single quotes • The value of a string variable can be
- CHAR surrounded by single quotes.
• An application program that enables users - FALSE
with an Internet connection to access and view • Program designed to make users more
web pages on a computer or mobile device productive and/or assists them with personal
- BROWSER tasks
• Which keyword is used to create a class in - APLLICATION SOFTWARE
Java? • The character used to marks the beginning
- CLASS and the end of a block of code
• The Internet originated as ARPANET in - CURLY BRACES {}
September 1991. • Which type of programming structure requires
- FALSE each instruction to be performed in order, with
• Java data type that represents numbers with no possibility of skipping an action or branching
a fractional part containing one or more off to another action?
decimals - SEQUENCE
- FLOAT • The task where you write, compile, and run
• Which class is used to create a variable that the program are the three correct phases of a
can store series of characters? Java program.
- String - TRUE
• How many choices are possible when using a • Type of error that a programmer will
single if-else statement? encounter when an incorrect value is
- 2 computed, the wrong things happen
• Java technology that provides you with a - RUNTIME ERROR
large suite of tools such as compiler, • In programming, what is repetition control
interpreter, documentation generator, and a structure?
class file packaging tool - THE REPEATITION OF STEPS WITHIN A
- DEVELOPMENT ENVIRONMENT PROGRAM
• Which operator can be used to compare two
values?
- == EQUALITY OPERATOR
• WHAT IS MISSING FROM THIS SWITCH
STATEMENT THAT WILL CAUSE ALL
STATEMENTS ON EVERY CASE PATH TO
EXECUTE ONCE A SUITABLE ANSWER IS
CHOSEN?
switch (flavor)
case 'V
cone="Vanilla":
case 'C:
cone="Chocolate" case 'S
cone="Strawberry":
default:
cone="Empty":
- THE BREAK CLAUSE
• Flowchart symbol that makes data available
for processing or displaying of processed
information
- FLOWLINE
• Inti = 10;
while (1>0){
System.out.print("");
Predict the output
- 1111111111
• Refers to the containers for storing data
values in Java
- 0
1
2
3
4
• Int 1 = 0;
while (<5) { System.out.println();
what is the output?
- DECISION

You might also like