![]() ![]() Consider the following statement which refers to the block In your travels, collect the "hearts" for more lives and avoid being eaten by zombies. Once the game starts, use the arrow keys to navigate your way through the maze. Debugging Which of the below options would be the best set of instructions to give for a program designed in Scratch? Click on the GREEN flag. False helps to identify and remove errors from a computer program. A computer cannot run several processes at a time. Compilation is the process of source code being translated into machine code. Which of the following is the best example of how the life cycle of a program should work? Idea→algorithm→write code→execute code→debug→maintain What is the correct definition of iteration? repeatedly applying a process with the goal of coming closer and closer to a solution Abstraction in computer science is the the process of removing or suppressing details to create a manageable level of complexity What is the function of the Central Processing Unit? It is the processor or brains of the computer where calculations take place and instructions from programs are carried out What is Binary? machine code that is a direct, low-level translation from the high-level source code, and is a pattern of 0s and 1s. They are very rarely ambiguous Understanding of the life cycle of a program is an essential component to becoming an effective programmer. Which of the following would NOT be a useful factor to include when modeling the properties of the simulated tank and fish population? The color of the fish Which of the following statements about low-level languages are true? They are generally less readable by humans than other languages Rather than risking the lives of actual fish, she decides to simulate an aquarium with a program in order to determine its maximum capacity. Which of the following software development terms best describes this process? Testing The owner of a pet store wants to determine how many fish she can keep in a given aquarium before the population becomes too overcrowded for the fish to survive. Chad has written the majority of his code in Scratch and is ready to start running his program using a variety of carefully chosen conditions to see if it functions properly in all these cases. Which of the following algorithms can be used to accomplish this? First, change all occurrences of goats to foxes, then change all occurrences of sheep to goats, and then change all occurrences of foxes to sheep. The programmer will use the fact that the word foxes does not appear anywhere in the original text. Consider the programmer's goal of changing all occurrences of goats to sheep and all occurrences of sheep to goats. Which of the following terms best describes the process of suppressing complex details of a system and presenting a simplified version with just the relevant details? Abstraction A programmer completes the user manual for a video game she has developed and realizes she has reversed the roles of goats and sheep throughout the text. The CPU reads and executes instructions, storing and accessing data from RAM as needed. ![]() Which of the following best describes how a compiled program is run by a computer? The binary instructions from the program are loaded into RAM. Which of the following best describes "compilation" in reference to computer science? Code in a high-level language is converted to low-level instructions which can be interpreted and run by the CPU.
0 Comments
Leave a Reply. |