AP - Computer Science

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which of the following is a benefits of well-named variables. select two answers

A. the program will be easier to read D. the program will be easier for others to debug

A client wishes for your project group to create a program to efficiently catalog their inventory of classical music CDs. What are two important considerations that you might need? Select two answers

B. Conversations about how the program will work C. input on the design of the user interface

understanding of the life cycle of a program is an essential component to becoming a effective programmer. Which of the following is the best example of how the life cycle of a programmer should work?

B. idea,algorithm,write code, execute code, debug, maintain

A program that Thomas has written is complete. now he is trying to determine ways to test the program for accuracy and fix errors whe he finds them. what is this procedure called?

B.Debugging

chad has written the majority of his code in Scratch and is ready to start thinking of test cases to make sure that his program functions properly and when he issues arise, fix them. this process is known as what?

A program implementation

Microsoft Excel is a spreadsheets program that can be used for computing the average of a list of values in cells A1 through A20 with a command such as =AVG(A1:A20). after the user initiates this command the command disappears and the average ( or mean) of the list of numbers appears. Why is this an abstraction?

A. The average can be viewed without knowing the procces of how the average was computed

Samantha and her programming team have asked to create a new APP for their client. Which of the following is most pertinent concept they must understand

A. The outcomes for specifics user inputs B. flow charts to display the user interface C. having a strong understanding of algorithms and abstractions D. All the above ( answer)

Which of the following is a reason for the importance of variables in programming?

A. Variables speed up computation B. variables assist in making code more readable C. variables allow you to store information for any desired attribute. D. all the above (answer)

Which of the following could be considered part of the beginning "state" of a Scratch program?

A. Visibility of sprites B. The background image C. The value of a variable D. All the above (answer)

one of the biggest limitations to advancing digital communication and resources has been storage and transfer of information via cloud computing. Which of the following reasons why cloud computing has gained users and popularity over the past 10 years. select two answer

A. affordability of cloud storage D. increase security of information

Which of the below options would be the best set of instructions to give for a program designed in Scratch?

C. Click on the Green flag.Once the game starts, use the arrow keys to navigate your way through the maze. in your travels , collect the "hearts" for more lives and avoid being eaten by zombies

while writing a program to regulate the speed of a self-driving car, you find that your software sometimes miscalculates the ideal car speed for city streets to be over 1500 mph (nearly twice the speed of sound) when it should be approximately 30 mph. which of the following strategies would be best to employ in debugging your program?

C. starting at the end of your program and working backwards, systematically delete each line of code that relates to calculating and re-run the program after each deletion to identify where int he program the error is being introduced

While developing a program, you find a similar project that someone has created and posted online. It contains a number of elements (e.g . images, music, code segments, etc.) that you would like to integrate into your own project. Under what conditions may you reuse these elements in your work?

C. you may only reuse elements for which the original owner has granted a license to reuse such as the Creative Commons Share Alike license

which of the following will cause an algorithm to fall into an infinite loop?

D. the condition of the loop never becomes false

which of the following would be the most appropriate name for a variable?

D. time_left


Ensembles d'études connexes

chapter 16 - marketing management

View Set

Biology 1100 Test 2 [Biology: The Core (Simon)] [Chapter 2 The Chemistry of Life]

View Set

chapter 17 European Renaissance and Reformation

View Set

Cognitive Psychology Chapter 13 Book Questions

View Set

SmartBook Assignment Learnsmart Chapter 4

View Set

Genera; Psychology Chapter 8 Inquizitive

View Set