Network Engineering Chapter 8 Study Guide
After running the following pseudocode, what will the value of VARIABLE be? 1. Set value of VARIABLE to 5 2. Increase the value of VARIABLE by 3 3. If the value of VARIABLE is odd, increase its value by 1 4. If the value of VARIABLE is even, increase its value by 1 5. 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
Drag the correct HTML tag on the left to its description on the right. Contains all the elements that will be presented on the screen.
<body>
Select the tags you MUST use to have a proper HTML document. (Select three.)
<body>, <head>, <html>
Which of the following tags contains all the elements that will be presented on the visual portion of a website?
<body></body>
Drag the correct HTML tag on the left to its description on the right. Contains the title of the web page, links to stylesheets, and metadata to help search engines find the page.
<head>
Drag the correct HTML tag on the left to its description on the right. Lets the browser know that it should interpret the document as HTML.
<html>
To be a proper HTML document, there are a few tags that every web page needs. Put these tags in the proper order.
<html> <head> <body> </body> </head> </html>
Which of the following are the proper HTML tags used to create a numbered list?
<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 full-stack web developer
Jessica, a programmer, has created specific statements, including conditional loops to accomplish a task. What has she created?
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
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
In which of the following careers does one usually work together in teams to create software programs?
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?
Application programming interface (API)
Which programming language type is the most basic human-readable and closest to actual machine language?
Assembly
In object-oriented programming, which of the following concepts is used to describe properties?
Attributes
Databases, authentication, and user accounts are all part of a website's ______________.
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
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?
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%.
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?
C++
Match each language to its general purpose in a website. Adds colors, fonts, and other design elements to website
CSS
Which of the following is a programming identifier that would be used to define values that don't change?
Constants
On a flowchart, which of the following represents a decision?
Diamond
What does the following JavaScript code snippet do when the code is loaded in a browser?
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?
Float
Using HTML and CSS to provide visual elements to the end user would be considered part of a website's _____________.
Frontend
Match each language to its general purpose in a website. Creates website structure and content
HTML
Which of the following BEST describes a back-end developer?
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
Which of the following can be used by a programmer to debug code?
Integrated development environment (IDE)
Alan, a programmer, needs to create an interactive web page. Which of the following programming languages types would he MOST likely use?
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.
Which of the following BEST describes a flowchart?
It is a visual representation of the logic in a program.
Which of the following describes the declarative programming paradigm?
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 a linear, top-down approach to solving problems.
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?
JavaScript
Match each language to its general purpose in a website. Makes website elements interactive
JavaScript
You want to have a hyperlink to testout.com on your web page. What is the correct HTML syntax to accomplish this?
Link to the TestOut homepage
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?
Looping
What does JavaScript do?
Makes web pages 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.
Which of the following programming models are built from class templates that have properties, attributes, and methods?
Objects
Which of the following flow chart concepts is depicted below?
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 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
What is the term for code that keeps running as long as a certain condition is met?
While loop
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?
import random