Web Programming Final

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

In order to apply Bootstrap to an HTML document, you just add necessary link and script elements to your HTML file and make sure your computer is connected to the Internet.

A True

In order to apply Bootstrap to an HTML element, the element must use a class attribute with the value pre-defined by the Bootstrap.

A True

In order to use Bootstrap by CDN, your browser must have the Internet access

A True

In bootstrap, what is the default color for btn-primary?

A blue

Which of the following is a container in Bootstrap?

A container-fluid

In jQuery, what does $div, .aboutMe select

C

In jQuery, how do you make the h1 element invisible

D

In Javascript, which of the following is the correct way to create a function called displaEquations?

A

In jQuery suppose there is a paragraph p This is em funny /em /p Which o\function will retrieve This is em funny /em

A

In jQuery, how do you make the first two span elements on the page backgrounds color red

A

Bootstrap 4 no longer supports Glyphicons while Bootstrap 3 still does.

A True

In Bootstrap, a hamburger icon is typically shown when the browser screen is narrower.

A True

A ______ is a group of JavaScript statements for the same purpose.

D

What will the following HTML code do? input type text pattern A-F

D

Which of the JavaScript sysntax to change the content of the HTML element p with an id of myParagraph?

D

Which of the following is a correct way to include JavaScript code in an HTML document?

D

Write a jQuery statement that takes 2 seconds to move a div element right 10 pixel

D

When you use Bootstrap, the browser width is automatically cut into ____ columns.

D 12

In this Book, we use Bootstrap CDN. What does CDN stand for?

D Content Delivery Network

In bootstrap, what is the default color for btn-warning?

D Orange

In bootstrap some class name contains aria which stands for ______

D accessible Rich Internet Applications

In bootstrap grid system, what's the difference between a class value of col-sm-4 and col-lg-4?

D col-sm-4 will collapse at narrower screen width than col-lg-4

In Bootstrap grid system, if you want the columns to collapse when the browser width is 1200px or smaller, you would use which of the following?

D col-xl-4

Which bootstrap class is often used to format an HTML form input element such as input select, and textarea?

D form-control

What is Bootstrap?

D. All of the above

A ____ is the building block of React JS

A

A property name in CSS often contains hyphen, such as background-color while in JavaScript the hyphen is often removed, such as backgoundColor.

A

React JS is _____

A

If jQuery works on an element that has not loaded yet, an error will occur. How does jQuery make sure this won't happen?

C

In JavaScript, how do you declare an array called digits?

C

In JavaScript, how do you round x 1.234 to 1.23

C

In an HTML file, how do you refer to an external JavaScript file called language.js

C

In jQuery, what does $ div.css border, solid 1px red; do?

C

In jQuery, what is a blur event?

C

In jQuery, what is the code for setting all h1 elements backgrounds red and text centered?

C

The _____ is an argument passed into a constructor of a component that cannot be changed

C

The platform that allows you to run JavaScript code on the server is ______

C

If you want the browser to communicate with teh Web server by using JavaScript you can use a technique called AJAX

A

In JavaScript, how do you separate words in a sentence into individual words and store them in an array?

A

In JavaScript, you can use the Math object's random method to generate a random number between 0 and 1. Which of the following is the correct way to store the random number in a variable called randNum?

A

In jQuery, what is the differeence between slideUp() and hide()

A

In jQuery, write a statement that removes all p elements

A

JavaScript has a method called addEventListerner which can call a function when an event is fired.

A

JavaScript is _____

A

Programming languages use ___ to store values in computer memory so that the values can be readily available to the programming instructions.

A

The jQuery syntax has two parts ____ and _____

A

Variable names in JavaScript is case sensitive

A

What is the $ sign in jQuery

A

You can do almost anything jQuery can do with just plain JavaScript

A

jQuery is a JavaScript library that makes writing JavaScript code easier

A

jQuery uses the same selectors as CSS

A

An alternative to use Glyphicons in Bootstrap is ______

C font Awesome

When you use Bootstrap, all you need is a class name on the HTML tag. Which of the following classes adds zebra-stripes to a table?

C table-striped

All JavaScript code has to be inside the head element

B

If you open an external JavaScript file in a text editor, most likely the first line of the code is script tage.

B

In JavaScript, which event occurs when the user clicks on an HTML element?

B

In jQuery, suppose there is a paragraph p this is em funny /em /p Which function will retrieve This is funny

B

In jQuery, what are the code for setting all h1 elements backgrounds red

B

In jQuery, what does $ div#aboutMe select?

B

Java is a short name for JavaScript

B

JavaScript has a built-in function called ___ that will execute a function after a pre-set time durations.

B

The ____ is an object of a constructor that can be changed. Every time the object changes, the component re-renders.

B

To display the debugging window in Firefox, you can _____

B

To format an HTML form with Bootstrap, you wrap each label with corresponding element of the form with which of the following divs?

B

What is the correct jQuery code to set teh background color of p elements to red when the user double clicks on it

B

Which of the following is a JavaScript variable naming rule

B

Which of the following is a correct way for a single line comment in Java script?

B

Which of the following statements is the same as x x + 1;

B

jQuery is a JavaScript library that runs on both browsers and Web servers

B

In bootstrap, if you see the following line, how many columns does the page designer plan to have assuming all columns are equal width? div class "col-sm-4 My first column /div

B 3

In Bootstrap, a hamburger icon is most likely used for restaurant menu

B False

In order to apply Bootstrap to an HTML element, you must first download all necessary files to your local computer and provide a CSS link to that folder and files.

B False

In order to apply Bootstrap to an HTML element, you must first learn how to use CSS3

B False

Bootstrap uses classes. Which class provides a responsive fixed width for the div element?

B container

In bootstrap, a class name sr-only stand for ______

B screen reader only

An object is JavaScript is a collection of _____

C

How do you declare a variable in JavaScript?

C

When coding JavaScript, you may have typos. The way to find the typos is called ______

C

Which of the following JavaScript functions will pop up a message box with words It works!?

C

Which of the following statements about jQuery is true

C

In Bootstrap, a class name mr-auto stands for ______

C Margin right auto

How do you make a circle with CSS?

D

How do you set all h1 elements with id of h background color to red in Javascript

D

How do you use jQuery in your HTML file?

D

How many times will the following JavaScript code display Hello World for var 1 0; i 5; i++ l alert Hello world

D

In JavaScript suppose userAnswer is a variable. Which of the following is the correct way to compare if the userAnswer is equal to 11?

D

In JavaScript, how do you remove the deciaml part of a number?

D

In JavaScript, what is the value of x after the following two lines of statements: var x 3; var 4;

D

In Javascript, which of the following is the correct way to call a function called displaEquations?

D

In jQuery, if you want to make all elements on the same level as h1 to have certain properties which selector should you use?

D

In jQuery, suppose there is a textbox input type text Which function will retrieve the text entered by the user

D

In jQuery, suppose there's a button with id moreParagraph. Write a statement to insert a paragraph before the button

D

In jQuery, what does $ div.aboutMe select?

D

In jQuery, what is a mouse hover event?

D

In javascript, a property of an object defines the objects ______

D

The ____ is what the browser sees with the HTML document you created. It can be different from the HTML file you wrote.

D

The offcial name for Java Script is ____

D

What is the default position property value for HTML elements.

D

Bootstrap uses classes. Which class provides a responsive full width for the div element?

D container-fluid

When you use Bootstrap, all you need is a class name on the HTML tag. Which of the following classes adds borders to a table?

D table-bordered


Ensembles d'études connexes

Chapter 17: Nursing Care of the Child With an Alteration in Sensory Perception/Disorder of the Eyes or Ears

View Set