Coding Midterm
During which development stage do you find bugs, fix them, and resolve any outstanding issues needed to meet the original specifications?
testing
What term describes the inequalities between those who have access to modern computers and those who do not?
the digital divide
When you perform a Google search that uses the word "and" (for example: "Restaurant AND Houston"), which kind of logic are you using?
Boolean
Which specific computer part performs operations in most computers?
CPU
_____ is the prewritten programming language shared across platforms.
Common code
T/F A single number can be both an integer AND a floating number.
False
T/F An "if" statement in Python requires both an assignment and an output.
False
T/F Apple's Safari browser and Microsoft's Edge browser are examples of OSS.
False
T/F Comments can be placed anywhere in Python, including in the middle of a line of code.
False
T/F Ideally, all tests should be run right at the end of a development cycle.
False
T/F In OOP, the principle of polymorphism notes that every form is its own individual, unique template that can't be applied to other forms.
False
T/F In assembly language, the command MOV AL, 61h is an instruction for the computer to perform a move operation of the data in a spreadsheet cell "AL" in 61 hours.
False
T/F Few programming languages are designed only for object-oriented programming; most languages in widespread use today can be used in either a procedural or object-oriented mode.
True
T/F If you want a language that is relatively easy to write and which can be tested easily as it's being developed, you would choose an interpreter program.
True
T/F In general, if a program doesn't run, it likely has a syntax error.
True
T/F In the Agile model of development, the program is not designed entirely from start. Instead, it happens through multiple "sprints" of module planning, designing, development, and testing.
True
T/F One side effect of companies employing more and more international workers is that, globally, countries are becoming more interdependent and grow a shared interest in maintaining peace.
True
T/F Peer code review helps you find ways to optimize code so that it will be easily maintained and understood by developers that come after you.
True
T/F Registry data in a computer can't store much information, but it's available immediately.
True
T/F Test plans should include whether your setup can handle huge surges and users and whether it is safe from attacks by hackers.
True
What refers to testing that observes how real people interact with the software, to test if it's easy and intuitive to use?
Usability testing
Marta is the president of her school's debate club. Each person has assignments to prepare for the next debate tournament. What is the BEST way to keep track of them?
a Gantt chart
Hugo has an idea for a new app that would allow students from around the world to gather together online and share ideas to solve global problems. This app is an example of:
a social network.
Which of these should you use if you want a program to continue to ask the user for input until the user guesses the correct number? -a comment loop -a for loop -a binary loop -a while loop
a while loop
Benjamin is taking an online quiz but is missing many questions. As he continues, the answers get easier for him. Isabella, however, is getting every question right, but the questions are getting harder and harder for her. They are MOST likely using _____ software.
adaptive learning
The coding system that has just two characters is called:
binary
A _____ language is one that is most similar to human language.
high-level
One of the benefits of the top-down approach to programming is that it allows you to use
libraries
A ______ uses one or more conditions to return a true or false value.
logical expression
Which of these is a good example of using structured type? -print("hello world") -age = 365*X -3%2 == 1 -counter = 0
print("hello world")
What tool works out the logic statements of a program without needing the precise syntax of a specific programming language?
pseudocode
______ is software that mimics human thought.
Artificial intelligence
Who devised a form of algebra that encoded logic in terms of two states? -Francis Bacon -Isaac Asimov -Alan Turing -George Boole
George Boole
In Python, what would you use to check for a value in an equation?
conditional expression
Marisol wants to learn how to write instructions for computer programs. Which of these Google searches would be MOST useful for her? -how to use Moore's Law -how to outsource -how to make a bot -how to code
how to code
Worldwide, what percentage of people do NOT use a smartphone?
50
T/F JavaScript, used for many websites, is the object-oriented offshoot of Java.
False
T/F One new advantage of new technologies in the classroom is that it is now possible for a teacher to lecture to dozens of students at once, regardless of their different levels and abilities.
False
. Ehtan is a project manager who is responsible for overseeing overall budget and schedule. Which tool is he is MOST likely to use to help him manage the schedule? -Gantt chart -Javascript -pseudocode -a UML diagram
Gantt chart
Avery just got her driver's license. Because she isn't too familiar with the roads and routes, she decides to use an app to help her navigate. Which one should she use?
Google Maps
What determines whether a number is a floating number?
If it has a decimal point.
Dylan is working on software that he wants to run on a laptop, a smartphone, and a video game console. Which programming language would be the BEST choice for this software?
Java
Amelia's smartphone is four years old, it is slow and sometimes can't run new apps well. Amelia is thinking about getting a new smartphone, which would be more powerful. This is an example of:
Moore's Law.
Bianca is attending a protest to support fair and equal access to the internet. What legislation is she MOST likely supporting? -The 2001 Telecommunications Act -Net Neutrality -The Fair Communications Convention -The Right to Compete clause
Net Neutrality
______ programming gives the computer a command but lets the computer itself 'work out' how to achieve that end based on other provided definitions and descriptions.
Object-oriented
Jiro is working on a research project. His topic is a programming language that was designed to teach programming and was very popular in the 1980s and 1990s. Which of these is MOST likely his topic? -Pascal -FORTRAN -Hexadecimal -Procedural
Pascal
Herve is developing a project and wants to incorporate high levels of risk management and analysis before entering the deployment phase. Which developmental model is BEST suited for his software project? -Spiral model -Agile model -Pyramid model -Rapid prototyping model
Spiral model
T/F Based on current projections, there's a 30 percent chance that an American teenager will one day meet their future spouse online.
True
T/F By default, Python stores code files with a detailed history of every modification to that code.
True
T/F Well-designed software almost always follows a life cycle; even the most experienced programmers don't get it exactly right on their first try.
True
T/F When learning to code, it is helpful to take a trial and error approach to write code - write it, review messages, and write again until you get the desired results.
True
Which programming concept is represented by the way we use some version of on-off switches in modern programming instructions?
binary
Which of these symbols is used at the end of the first line of a function definition in Python? -colon : -at sign @ -dollar sign $ -percent %
colon :
Which of these is an example of a module built in to Python? -calculating the velocity of an object in flight -creating a random number -setting up secure internet access -playing the game solitaire
creating a random number
Which syntax is correct in Python? -if 1%2 == 0 then print 1 -if 1%2 == 0 {print 1} -if 1%2 == 0: print (1) -if 1%2 == 0 Then print(1).
if 1%2 == 0: print (1)
What will be the output of this line of code: #print(2 * "3")
no output
Which symbols must appear after the word print in Python?
parentheses ( )
Joaquin's teacher has asked him to work with a group of three other students to propose a wiring infrastructure that would provide secure internet coverage for a small business. This lesson is asking Joaquin to participate in _____ learning.
project-based
You are tutoring a student who is struggling in math. She says that her homework is to watch YouTube videos that the teacher has selected to explain new concepts, but the student does not have high-speed internet access at home. This is an example of: -the Internet of Things. -adaptive learning. -globalization. -the digital divide.
the digital divide
What repeats a block of code as long as the condition being tested is true?
while loop