Chapter 8 Study Set

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

After running the following pseudocode, what will the value of VARIABLE be? Set value of VARIABLE to 5 Increase the value of VARIABLE by 3 If the value of VARIABLE is odd, increase its value by 1 If the value of VARIABLE is even, increase its value by 1 If the value of VARIABLE is odd, increase its value by 1

10

How many heading tags are available for heading and subheading when using HTML? 6 2 8 4

6

You want to have a hyperlink to testout.com on your web page. What is the correct HTML syntax to accomplish this? <a href=www.testout.com> <a href=>Link to the TestOut.com homepage</a> <a href="www.testout.com">Link to the TestOut homepage</a> <a href="www.testout.com"></a>

<a href="www.testout.com">Link to the TestOut homepage</a>

Which of the following tags contains all the elements that will be presented on the visual portion of a website? <body></body> <div></div> <head></head> <p></p>

<body></body>

Which of the following are the proper HTML tags used to create a numbered list? <ol><ol>Item 1</ol><ol>Item 2</ol><ol>Item 3</ol></ol> <ol><a>Item 1</a><a>Item 2</a><a>Item 3</a></ol> <ol><i>Item 1</i><i>Item 2</i><i>Item 3</i></ol> <ol><li>Item 1</li><li>Item 2</li><li>Item 3</li></ol>

<ol><li>Item 1</li><li>Item 2</li><li>Item 3</li></ol>

A person that can use HTML, CSS, and JavaScript to create websites (as well as service the website and manage user accounts) is known as which of the following? A database programmer A full-stack web developer An application developer A quality assurance engineer

A full-stack web developer

Jessica, a programmer, has created specific statements, including conditional loops to accomplish a task. What has she created? Pseudocode Algorithm Flowchart Software

Algorithm

Which of the following features of an integrated development environment (IDE) BEST allow a programmer to code faster and with less effort? (Select two.) An IDE has a library of built-in functions. An IDE can autocomplete key words. An IDE allows projects to be kept organized in folders. An IDE allows for saving code with filename extensions. An IDE provides standard text-editing features.

An IDE has a library of built-in functions. An IDE can autocomplete key words.

You are working on a program that needs to keep track of many values at the same time. Which of the following would you use? An array A variable A float A constant

An array

In which of the following careers does one usually work together in teams to create software programs? Application developer Quality assurance engineer Database programmer Web developer

Application developer

A software developer wants to add a custom Google Map to a customer's website. Which of the following would the developer use to accomplish this? The C# programming language Integrated development environment (IDE) Application programming interface (API) Cascading Style Sheets (CSS)

Application programming interface (API)

Which programming language type is the most basic human-readable and closest to actual machine language? Interpreted Query Assembly Compiled

Assembly

In object-oriented programming, which of the following concepts is used to describe properties? Methods Attributes Polymorphism Encapsulation

Attributes

Databases, authentication, and user accounts are all part of a website's ______________. Full stack Backend Protocols Frontend

Backend

A programmer is creating an application that needs to store a value indicating if the user is logged in or not. Which of the following would be the BEST data type to accomplish this? Boolean Float String Integer

Boolean

A user is shopping online and has added two items to the cart. When the user clicks the Checkout button, the shopping cart programming logic checks to see if the user is logged in already. If the user is logged in, the checkout process continues, otherwise, the user is prompted to sign in. Which of the following describes the logical component being used? Encapsulation Programming array Branching Looping

Branching

Which of the following logic components is being used and how much is the interest if the amount is 5,000? (Select two.) IF amount < 5,000 THEN interest = 7%, ELSE interest = 8%. Looping Branching 8% 7% Query

Branching, 8%

A software developer wants to provide a compiled executable program to a customer. Which of the following computer languages would provide this capability? Ruby C++ PowerShell Perl

C++

Which of the following is a programming identifier that would be used to define values that don't change? Vectors Constants Arrays Variables

Constants

On a flowchart, which of the following represents a decision? Diamond Parallelogram Arrow Rectangle

Diamond

What does the following JavaScript code snippet do when the code is loaded in a browser? Displays a button labeled "Click me!" Nothing, this code will not load in a browser Displays the text "My JavaScript Button" and a button labeled "Click me!" Displays a pop-up window with the message "You are coding with JavaScript!"

Displays the text "My JavaScript Button" and a button labeled "Click me!"

A developer is creating an application that requires a value to be stored with decimal precision. Which of the following data types should be used for the variables that will store these values? Integer Boolean String Float

Float

Using HTML and CSS to provide visual elements to the end user would be considered part of a website's _____________. Protocols Full stack Frontend Backend

Frontend

Which of the following BEST describes a back-end developer? He or she accesses information from databases and prevents unauthorized access. He or she controls what you see visually in your web browser when you visit a site. He or she needs to make the website as user-friendly as possible. He or she uses HTML, CSS, and JavaScript to determine the way a website looks.

He or she accesses information from databases and prevents unauthorized access.

Which of the following BEST describes a front-end developer? He or she is concerned with the aesthetics of a website. He or she services the website and manages user accounts. He or she may use query languages like SQL. He or she may use Ruby, Java, PHP, and Python.

He or she is concerned with the aesthetics of a website.

Python provides programming functions that can be used by a software developer. Which of the following would be used to make the random function available? set num = random() export random load random import random

Import random

Which of the following can be used by a programmer to debug code? Integrated development environment (IDE) Application programming interface (API) Text editor Word processor

Integrated development environment

Alan, a programmer, needs to create an interactive web page. Which of the following programming languages types would he MOST likely use? Compiled Assembly Query Interpreted

Interpreted

Python is a general purpose programming language that is popular for creating websites and mobile applications. Python is known as a readable and user-friendly language. What does the following code do? color = input('What is your favorite color?\n')print('Your favorite color is %s.' % color) It gets input and produces output. It sets the system color variable. It sends the output to a printer. It sets the font color to the color specified in the input.

It gets input and produces output.

Which of the following describes the declarative programming paradigm? It uses a linear, top-down approach to solving problems. It uses local and global variables as data types. It uses detailed steps to provide instructions to a computer. It uses a domain-specific language (DSL) to instruct the program what needs to be done.

It uses a domain-specific language (DSL) to instruct the program what needs to be done.

A programming paradigm is a method used to program a computer that guides the solving of a problem or performing of a task. Which of the following describes the procedural, or imperative, programming paradigm? It uses high-level instructions instead of detailed steps. It uses a non-linear approach to solving problems. It uses a domain-specific language (DSL) to instruct the program what needs to be done. It uses a linear, top-down approach to solving problems.

It uses a linear, top-down approach to solving problems.

Which of the following BEST describes a flowchart? It does the same thing over and over in exactly the same way. It is a step-by-step procedure that illustrates how a problem is to be solved. It is a visual representation of the logic in a program. It starts at the first line and then executes one line at a time until the end.

Its a visual representation of the logic in a program

A software developer is working on a website and has been tasked with adding interactive elements to it. Which of the following programming languages would work BEST for this task? C++ JavaScript HTML CSS

JavaScript

Diana, a developer, needs to program a logic component that will allow the user to enter a series of values. Which of the following would BEST provide that functionality? Scripting Branching Case statement Looping

Looping

What does JavaScript do? Makes web pages interactive. Links digital objects to each other. Contains the title of the web page. Makes websites look good.

Makes websites interactive

Which of the following job tasks would be something a QA specialist would do? Monitor software development in order to maintain a high-quality product. Create applications for computers and mobile devices. Use Ruby, Java, PHP, Python, and query languages like SQL. Write code to design, create, implement, and maintain databases.

Monitor software development in order to maintain a high-quality product.

Which of the following programming models are built from class templates that have properties, attributes, and methods? Vector Encapsulation Functions Objects

Objects

Which of the following flow chart concepts is depicted below? Vectors Arrays Methods Sequence

Sequence

A software developer wants to create an application that will work on Windows and Apple iOS operating systems. What can the developer do to make this task easier? Use the same programming language for both operating systems. Use the APIs for each operating system. Expand the development team to handle the additional work. Increase the timeline to allow for the additional work.

Use the APIs for each operating system.

A developer is creating a program that will store a customer's latest order number. The value will change each time a customer creates a new order. Which of the following would MOST likely be used to store the value? Variable Object Constant Array

Variable

What is the term for code that keeps running as long as a certain condition is met? Branch While loop For loop Decision

While loop

Select the tags you MUST use to have a proper HTML document. (Select three.) <body> <html> <a> <head> <div> <h1> <p>

body, html, head


Set pelajaran terkait

Networking + Post-Assessment Quiz

View Set

Kingfisher Security+ SYO-501 Chapter 5: Application Security

View Set

Advanced exercise physiology exam 1

View Set

Maternal & Child Health Nursing Chapter 8

View Set

Chapter 2: Medical-Surgical Nursing

View Set

Chapter 25 Alterations in Renal Function

View Set

CHEM: REDOX REACTIONS DYNAMIC MODULE

View Set

Mastering Microbiology Ch 8 --Bauman 5th Ed

View Set