Answer:
for (int h = k; h >= 0; h--)
Explanation:
From the list of given options, option C answers the question.
In the outer loop
Initially, k = 0
In the inner loop,
h = k = 0
The value of h will be printed once because h>=0 means 0>=0 and this implies once
To the outer loop
k = 1
The inner loop will always assume value of k;
So,
h = 1
This will be printed twice because of the condition h>=0 means 1>=0.
Since 1 and 0 are >=0; 1 will be printed twice
To the outer loop
k = 2
The inner loop
h = 2
This will be printed thrice because of the condition h>=0 means 2>=0.
Since 2, 1 and 0 are >=0; 2 will be printed thrice
To the outer loop
k = 3
The inner loop
h = 3
This will be printed four times because of the condition h>=0 means 3>=0.
Since 3, 2, 1 and 0 are >=0; 3 will be printed four times
Answer:
D) can access main memory at the same time as the main CPU
Explanation:
DMA is short for Direct Memory Access, these controllers allow the device to transfer data directly to and from the memory modules without interfering with CPU processes. Therefore it can access main memory at the same time as the main CPU. Thus freeing up CPU processing power for other tasks while also retrieving the data necessary.
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The value stored by a variable can be changed after it is assigned(true).
The value of a variable can be changed after it is assigned, for example:
int a=10;
and we can change the value of variable a in letter program such as:
a=15;
Variables are a name for a spot in the computer's memory (true).
it is true, because the variables value stored in the computer's memory and we can access theses values by their name (variable name). so Variables are a name for a spot in the computer's memory.
Variable names can be words: such as temperature or height (true).
Yes, the variable name can be words such as height, width, temperature etc.
The value stored by a variable cannot be changed after it is assigned (false).
It is noted that the value stored by a variable can be changed after it is assigned. However, it is noted that is some programming language, you can't change the value of static variable.
Answer:
The major goal of systems analysis and design is to improve organizational systems. Often this process involves developing or acquiring application software and training employees to use it. Application software, also called a system, is designed to support a specific organizational function or process, such as inventory management, payroll, or market analysis. The goal of application software is to turn data into information. For example, software developed for the inventory department at a bookstore may keep track of the number of books in stock of the latest best seller. Software for the payroll department may keep track of the changing pay rates of employees. A variety of off-the-shelf application software can be purchased, including WordPerfect, Excel, and PowerPoint. However, off-the-shelf software may not fit the needs of a particular organization, and so the organization must develop its own product.
Explanation:
Information systems analysis and design is a method used by companies ranging from IBM to PepsiCo to Sony to create and maintain information systems that perform basic business functions such as keeping track of customer names and addresses, processing orders, and paying employees. The main goal of systems analysis and design is to improve organizational systems, typically through applying software that can help employees accomplish key business tasks more easily and efficiently. As a systems analyst, you will be at the center of developing this software. The analysis and design of information systems are based on:
Your understanding of the organization’s objectives, structure, and processes
Your knowledge of how to exploit information technology for advantage