BONUS-Chapter 8.4 and 8.5
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
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
What does a JavaScript do?
Makes web pages interactive
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.test.com">Link to the TestOut homepage </a>
Which of the following contains all the elements that will be presented on the visual portion of a website?
<body></body>
Select the tags you MUST use to have a proper HTML document.
<head>, <html>, <body>
Tags in proper order
<html> <head> </head> <body> </body> </html>
Which of the following are the proper HTML tags used to create a numbered list?
<ol> <li>Item 1 </li> <li>Item2 </li> <li>Item3 </li> </ol>
A software developer wants 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)
<head>
Contains the title of the web pages, links to stylesheets, and metadata to help search engines find the pages.
How many heading are available for heading and subheading when using HTML?
6
Which of the following features of an integrated development environment (IDE) BEST allow a programmer to code faster and with less effort?
An IDE has a library of built-in functions. An IDE can autocomplete key words
<body>
Contains all the elements that will be presented on the screen.
What does the following JavaScript code snippet do when the code is loaded in a browser?
Display the text "My JavaScript Button" and a button labeled "Click me!"
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?
Intergraded development environment (IDE)
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?
It gets inputs and produces outputs.
A software developer is working on a website and has been tasked with adding interactive elements to it. Which of the following programming language would work BEST for this task?
JavaScript
<html>
Lets the browser know that it should interpret the document as HTML.
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 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.