Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Another term for program is Hardware Software Firmware Peopleware A byte is a collection of Four bits Six bits Eight bits A dollar This is

Another term for program is

Hardware

Software

Firmware

Peopleware

A byte is a collection of

Four bits

Six bits

Eight bits

A dollar

This is a special language used to write computer programs

Programming language

Operation System

Application

Pseudocode

Variables are:

Symbolic names made up by the programmer that represent locations in the computers RAM.

Reversed words

Symbolic names made up by the programmer whose value cannot be changed.

Operators that perform operation on one or more operands.

One of the design tools used by programmer when creating a model of the program is:

Disk Drive

Complier

ALU

Pseudocode.

The purpose of validation the results of the program is:

To Create models of the program.

To correct syntax errors.

To correct runtime errors

To determine whether the program solves the original problem.

Which of the following is not a valid comment statement?

//comment1

/*comment 2 */

*/comment 3/*

/**comment 4 */

Software refers to:

The physical components that a computer is made of.

Firmware

Programs

Peopleware

A computer program is:

A set of instructions that enable the computer to solve a problem of perform a task.

Main memory

Pseudocode

A flow chart

19. These are used to indicate the end of a java statement

semicolons

colons

periods

asterisks

21. This is a cross between human language and a programming language

Pseudocode

java

The java virtual machine

the compiler

23. This type of loop is ideal in situation where you always want the loop to iterate at least once.

while loop

do while loop

for loop

if statement

25. How many times will the following do-while loop be executed?

int x=11;

do{x+=20;} while (x<=100)

1

3

4

5

27. What will be the value of X after the following code is executed?

Int x=10;

Do {x*=20;} while (x<5);

10

200

This is an infinite loop

The loop will not be executed, the initial value of x>5

29. What will be the value of x after the following code is executed?

Int x=10, y = 20;

While (y <100) {x +=y;}

Y +=20;

90

110

130

210

31. Character literals are enclosed in _______; string liters are enclosed in ________.

Single quotes; single quotes

Double quotes; double quotes

Single quotes; double quotes

Double quotes; single quotes

33. What is the result of the following expression?

25/4+4 * 10 % 3

19

5.25

3

7

35. What will be displayed as a result of executing the following code?

Public class test

{public static void main (string [] args)

{ int value1=9;

System.out.printIn(value1);

Int value 2 = 45;

System.out.printIn(value2);

System.out.printIn(value3);

Value= 16;}}

9

45

16

94516

9 45 16

nothing, this is an error

37. To display the output on the next line; you can use the printIn method or use this escape sequence in the print method.

\t

\b

39. What will be the value of x after the following code is executed?

Int x= 10;

While (x <100);

{

x+= 10;

}

90

100

110

This is an infinite loop

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

x-3+1, x23 Let f(x) = -*+3, * Answered: 1 week ago

Answered: 1 week ago