Computer Science II Midterm Exam (Quiz review)

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which of these represents a string variable?

"100 words"

What is the BEST example of a secure password?

"Lbu7!crtTP2"

Which of these is a good example of a user persona?

"Teenage power-gamer who plays competitively 10+ hours a day"

What is an example of an incremented sequence?

1,2,3,4

Candace is legally blind. She points her phone at an orange on a table, presses a button, and the phone then says "orange." She is MOST likely using the application:

Aipoly Vision.

_____ is another term for a strategy or plan of action.

Algorithm

What is accomplished by the following code snippet, assuming all variables had been populated? ammount_owed+=duration*rate

Amount owed adds duration times rate to it.

Linette works in software development. She usually starts her day by meeting with the project manager to discuss the overall progress of the software. After that, she holds a meeting with the team of developers to hand out work based on upcoming deadlines and then goes on to help with overall development problems. Linette tries to end each day by sending an encouraging email to her team to remind them how appreciated they are. What is MOST likely Linette's job title?

lead developer

These days, the most common databases are relational. This means that they:

link together data from one table to another, allowing for complex connections and reports to be made.

A ______ uses one or more conditions to return a true or false value.

logical expression

The software development life cycle is often split up among the

members of a team.

In lean software development, an MVP is defined as the:

most basic useable product you can create.

What is an example of a session of internet browsing?

opening and closing any single web browser

The special program that manages the software and hardware of a computer is the:

operating system

The different approaches to programming are also known as programming:

paradigms

What term refers to a sequence of statements in a language that both humans and computers can understand?

program

Your friend Lucia enjoys taking a leadership role when working with her peers on group assignments. She is very skilled at making sure that everyone is able to complete their part on time due to her time management skills. She also excels at scheduling and budgeting tasks. If Lucia decides to work in software development one day, what role might Lucia be especially well-suited for?

project manager

What tool works out the logic statements of a program without needing the precise syntax of a specific programming language?

pseudocode

Calculating the remainder as an arithmetic expression in most languages looks similar to what?

rem(3/2)

Milon tried to write a program that is writing 12 items to a table with only 10 rows. What error should he expect to see?

runtime error

Which of these symbols is allowed in Python?

semicolon ;

In a programming process flowchart, a "terminal" node represents a:

start or end point for the process.

Which role on a software development team carefully considers how the software should behave and respond to the user so that it is clean and efficient and involves using tools like flowcharts, whiteboards, and, sometimes, special modeling software?

systems designer

During which development stage do you find bugs, fix them, and resolve any outstanding issues needed to meet the original specifications?

testing

What is the user interface for accessing the operating system's services?

the shell

Which generation of languages is most computer programming done in today?

third generation

Teachers can now take on the role of _____ now that students are using computers more and more in classrooms.

tutor

Ethan is coding in Python and trying to add a set of numbers including both floats and integers. First he needs to _____ to make sure he doesn't lose the information after the decimal point.

type cast

As the project manager for a software development team, Melania will report on progress of the current project that she is working on to:

upper-level management.

What repeats a block of code as long as the condition being tested is true?

while loop

What's the first thing you should do when someone presents you with a great idea for a software application?

Ask them about specific details about the product.

What is one of the most common college degree options that can be very useful for preparing for a wide range of roles, such as a developer, designer, or network specialist?

Bachelor's in computer science

______ are "customer support experts" who are really just advanced computer programs.

Chatbots

what is a common use for an API?

Connecting a program to a credit card/ payment processor.

Rodrigo has written a novel that he wants to share with publishers and his close friends while still retaining ownership of it. Where should he turn to get a free copyright license?

Creative Commons online

______ refers to powerful tools that optimize the flow of information in a large organization, including things like paying salaries and automatically reordering inventory.

Enterprise management systems (EMS)

T or F: Advanced technologies have almost always been available to everyday consumers.

FALSE

T or F: Apple's Safari browser and Microsoft's Edge browser are examples of OSS.

FALSE

T or F: Interpreter programs have recently become popular because they run faster than compiling programs.

FALSE

T or 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

T or F: Since it exists only in cyberspace, the internet has developed at consistent rates throughout the world.

FALSE

T or F: Working as a professional at a big company like Google requires a college degree.

FALSE

A single number can be both an integer AND a floating number.

False

An "if" statement in Python requires both an assignment and an output.

False

An array lookup is a good way to figure out which of your multiple array data sets is storing the specific data type a user is requesting.

False

By default in Python, every variable you create is visible to all other code in a program.

False

Comments can be placed anywhere in Python, including in the middle of a line of code.

False

Developers rely on project managers to create the path the software will follow.

False

Even when used properly, educational software has no real impact on enhancing the learning outcomes for students of all ages and backgrounds.

False

Facebook's privacy policy states that third-party applications can freely access a user's friends' data with permission from the app user.

False

Fake news is a problem unique to the United States; other countries don't grapple with the problem of fake news.

False

Modular design is a popular alternative to the traditional top-down approach to computer code.

False

PCs are more secure than Macs when it comes to viruses and malware because PCs and Windows systems are "sandboxed."

False

Python's keywords are NOT case sensitive.

False

SQL is the language most commonly used to program applications that will interface with a database.

False

The accepted maximum downtime for most software and websites is, at most, 1 percent of the time.

False

The deployment stage of development is when developers create patches and updates to their software.

False

The more you communicate with people using devices, the less likely you are to communicate with those people face-to-face.

False

Usually, designing a solution ends with creating User Interfaces.

False

When designing software, it's important to include every feature you can think up so that the application is competitive in a crowded market.

False

Microsoft's old Internet Explorer software, which Microsoft allowed anyone to download online without a license, represents which kind of software?

Freeware

What acronym represents the European Union's most significant recent data privacy legislations?

GDPR

Which of these is an example of a mile stone in a software development project?

Implementing a usable GUI

Which team member's role involves making sure development is progressing on schedule and budget?

Project manager

A waterfall-style Gantt chart is MOST useful for:

Projecting how a project should progress over seral weeks

T or F: Contractors often need to charge high hourly rates to make up for the fact that their employers don't provide health care and other benefits.

TRUE

T or F: Hearing aids rely on tiny computers that filter out irrelevant background noise and amplify the remaining signal.

TRUE

T or F: Playing a popular video game on a modern console uses as much computing power as it takes to run a small business.

TRUE

T or F: Registry data in a computer can't store much information, but it's available immediately.

TRUE

True or False: IDEs give programmers access to many tools they need in one place, including source editors, debuggers, and compilers.

TRUE

The easiest way to indent in Python is to use the:

Tab key.

What is the following code snippet checking? While response !="yes":

That the response variable is yes

The company Amazon is a major player in the server-provider market.

True

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

When designing a software solution, you have to consider what is the most effective way to move information around.

True

When two well-informed people have different perspectives on a problem, it is often because they are focusing on a different approach to the problem, not that one side is right and the other is wrong.

True

What coding concept most relates to validation of inputs?

Type casting

What's the MOST efficient way to look up the rates for a parking spot by city if the user has entered the city?

Use an array lookup to find an index for that city and check it against a matched array.

What is the first step in the life cycle of software development?

analysis

Naomi is a computer science professional who is interested in a more formal way to continue her education to help her achieve better company advancement, increased pay, and self-satisfaction. How might Naomi do this?

by enrolling in a master's or PhD program at a university

Emir is a cartographer (a person who makes maps). On each map he names individual lakes, mountains, valleys, and forests. Which OOP principle is he following?

classes and instances

Most schools use a learning management system (LMS) in order to make daily tasks easier, like taking attendance, entering grades, and:

communicating with students and parents.

In recent years, modern classrooms are beginning to focus more on developing ______ and ______ skills.

communication; collaboration

Which translator program reads an entire program in programming language and produces the complete set of machine instructions for that program?

compiler

Haruto was a programmer working in the early 2000s. Which kind of program or language was he MOST likely working with?

compilers

In Python, what would you use to check for a value in an equation?

conditional expression

Bitcoin is a digital form of money that is encrypted and not stored centrally in a bank. It is an example of:

cryptocurrency.

Cyberstalking shares most of its definition with another online activity known as:

cyberbullying.

Which number system uses the numbers 1 through 10?

decimal

Besides the more obvious task of creating the website itself using web languages like HTML, JavaScript, PHP, etc., the front-end developer will also likely need to work with back-end database structures to:

display data.

Krupa's mother works two part-time jobs at a grocery store and gas station to pay the rent in a small apartment. Krupa herself went to college and graduated with a master's in business and now works as a manager for a large company earning over $100,000 a year. Her successes are an example of:

economic mobility

Milestones are useful components in a development process because they make it easier to:

estimate how long tasks will take.

A _____ is a planning tool used to describe the input and outputs and the path of data and processing that will ultimately make up your code.

flowchart

The first computer programming repository, created by Linus Torvalds, was know as:

git

What is used to declare a comment in Python?

hash marks #

What is an example of a constraint a software development project might face that would be included in an SRS?

having to use specific encryption to maintain privacy

Which country tried to pass a law that would force companies to store information unencrypted for 90 days?

India

Which development model emphasizes small revisions that enhance the code and expand the functionality until the entire program is built?

Iterative model

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

Which web browser is completely open-source?

Mozilla Firefox

______ 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

_____ refers to software with no owner and publicly available source code.

Open-source software

Which simple language, popular in the 1980s and 90s, was designed largely for teaching purposes?

Pascal

What term refers to applications that connect people to friends and relatives across the world?

Social Networking applications

What refers to the outline of the necessary components for a project, first given to developers at the beginning of a project and modified through the development cycle?

Software requirement specifications (SRS)

Giselle received an email that says that her Amazon account is about to be suspended due to suspicious activity, and that she needs to log into her account to fix it. There's a link in the email that will take her directly to a log in page. What should Giselle be thinking?

This is a phishing attempt to get my password

Assuming students had entered their own first name and last name in response to separate inputs, what is accomplished by the following code snippet? Student_name=firstname+lastname

This line would return a syntax error.

A straightforward way to determine if a number (N) is even is to check if the remainder of N divided by 2 is 0; if so, it's an even number.

True

An index in programming is quite similar to an index in a book or old card catalogue in a library.

True

By default, Python stores code files with a detailed history of every modification to that code.

True

Developers are needed to not only write code but also to maintain and support databases and other information systems.

True

Floating numbers are just the coding world term for real numbers.

True

Flowcharts allow you to more easily clarify among multiple potential solutions to a problem to see which solution is best.

True

In 2016, about one-third of teenagers in the United States said they had been bullied online at some point.

True

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

Individual flowcharts are likely to be created for each of the nodes that represent a process in a data flow diagram.

True

It's common practice for schools and universities to run submitted work through a plagiarism checker before issuing your final grade.

True

Once you start designing the processing logic for each function of your software, you might end up throwing out your logical data model design and completely redesigning it.

True

Which of these is an example of an appropriate question to ask yourself during the analysis phase of development?

Who will pay for this software once it's done?

Which documentation tool is MOST useful for designing a whole system when databases are involved?

a data flow diagram


Kaugnay na mga set ng pag-aaral

Anatomy and Physiology Connective Tissues

View Set

Exam 3 (F/E, Acid- Base, Diabetes, COPD, Asthma, and Thyroid disorders)

View Set

03 Legal Land Descriptions & Measuring Real Property | Chapter 4 Measuring Real Property

View Set

ACC210 Chapter 1 A Framework for Financial Accounting

View Set

7.4: module 07 load balancing and NIC teaming

View Set