A company wants you to input quarterly sales figures for sales employees. The loop that does this is ____.
A. Display "Enter the number of salespeople: "
Input numSalespeople
For qtrIndex = 1 To 4
Display empIndex + ", quarter " + qtrIndex
Input salesAmt
End For
B. Display "Enter the number of salespeople: "
Input numSalespeople
For empIndex = 1 To numSalespeople
Display empIndex + ", quarter " + qtrIndex
Input salesAmt
End For
C. Display "Enter the number of salespeople: "
Input numSalespeople
For empIndex = 1 To numSalespeople
For qtrIndex = 1 To 4
Display empIndex + ", quarter " + qtrIndex
Input salesAmt
End For
End For
D. Display "Enter the number of salespeople: "
For empIndex = 1 To numSalespeople
For qtrIndex = 1 To 4
Display empIndex + ", quarter " + qtrIndex
Input salesAmt
End For
End For
Answer: C
You might also like to view...
Which of the following is not part of a computer’s hardware?
a. The keyboard. b. The operating system. c. The hard disk. d. The screen.
To add a node into a pane, use ______.
a. pane.add(node); b. pane.addAll(node); c. pane.getChildren().add(node); d. pane.getChildren().addAll(node);
The advanced filter tool can ________
A) search for unique records, only B) not filter multiple arrays C) filter a limit of 256 rows D) delete duplicate records
Six months into development, the core team assigned to implement a new internal piece of software must convene to discuss a new requirement with the stake holders. A stakeholder identified a missing feature critical to the organization, which must be implemented. The team needs to validate the feasibility of the newly introduced requirement and ensure it does not introduce new vulnerabilities to the software and other applications that will integrate with it.Which of the following BEST describes what the company?
A. The system integration phase of the SDLC B. The system analysis phase of SSDSLC C. The system design phase of the SDLC D. The system development phase of the SDLC