How Can We Help Children Maintain a Healthy Body Weight? 250 words 11/11/2020 Quiz XXXXXXXXXXPROG XXXXXXXXXXC4V - JavaScript - Durham College...

1 answer below »
pfa


How Can We Help Children Maintain a Healthy Body Weight? 250 words 11/11/2020 Quiz - 202043.11358-PROG-1083-048 - C4V - JavaScript - Durham College https://durhamcollege.desire2learn.com/d2l/lms/quizzing/user/attempt/quiz_start_frame_auto.d2l?ou=334450&isprv=&drc=0&qi=212379&cfql=0&dnb=0 1/4 Question 1 (1 point) Question 2 (1 point) Question 3 (1 point) Question 4 (1 point) Question 5 (1 point) Question 6 (1 point) A good programming language helps the programmer by allowing them to talk about the actions that the computer has to perform on a higher level True False What would appear in the console after the following code was executed? let ten = 10; console.log(ten * ten); When your program contains more than one statement, the statements are executed as if they are a story, from bottom to top. True False The following code will display as False in the console log. if (1 + 1 == 2) console.log("It's true"); True False JavaScript is a single-platform, object-oriented scripting language used to make webpages static True False javascript:// 11/11/2020 Quiz - 202043.11358-PROG-1083-048 - C4V - JavaScript - Durham College https://durhamcollege.desire2learn.com/d2l/lms/quizzing/user/attempt/quiz_start_frame_auto.d2l?ou=334450&isprv=&drc=0&qi=212379&cfql=0&dnb=0 2/4 Question 7 (1 point) Question 8 (1 point) Question 9 (1 point) Question 10 (1 point) JavaScript provides a data type specifically for storing sequences of values, which is named: Java is just a short form name for JavaScript True False in a browser environment, the binding prompt holds a function that shows a little dialog box asking for user input True False The basic idea of Object Orientated Programming (OOP) is that we use objects to model real world things that we want to represent inside our programs, and/or provide a simple way to access functionality that would otherwise be hard or impossible to make use of. True False Within a program, you may want to create a branching road, where the program takes the proper branch based on the situation at hand. This is called: Variable Browser Object Array Loop 11/11/2020 Quiz - 202043.11358-PROG-1083-048 - C4V - JavaScript - Durham College https://durhamcollege.desire2learn.com/d2l/lms/quizzing/user/attempt/quiz_start_frame_auto.d2l?ou=334450&isprv=&drc=0&qi=212379&cfql=0&dnb=0 3/4 Question 11 (1 point) Question 12 (1 point) Question 13 (1 point) DOM stands for: What would appear in the console after the following code was executed? console.log(Math.min(2, 4) + 100); The following items are examples of JavaScript Values Conditional Execution Situational Execution Branched Execution Conditional Branching DHTML Object Model Document Orientation Material Document Orientation Model Document Object Model javascript:// 11/11/2020 Quiz - 202043.11358-PROG-1083-048 - C4V - JavaScript - Durham College https://durhamcollege.desire2learn.com/d2l/lms/quizzing/user/attempt/quiz_start_frame_auto.d2l?ou=334450&isprv=&drc=0&qi=212379&cfql=0&dnb=0 4/4 Question 14 (1 point) Question 15 (1 point) Which of the following is not part of the JavaScript standard library of objects: What would appear in the console after the following code was executed? var name = "Jessica"; const greeting = "Hello "; console.log(greeting + name); Submit Quiz 0 of 15 questions saved numbers strings undefined values All of the above Math Date Array Spelling javascript://
Answered 27 days AfterJun 29, 2021

Answer To: How Can We Help Children Maintain a Healthy Body Weight? 250 words 11/11/2020 Quiz XXXXXXXXXXPROG...

Sugandha answered on Jul 27 2021
136 Votes
Assignment-javaScript Concepts
Assignment-javaScript Concepts
1. Good programming language:
· For understanding about a good programming language, let first discuss about how the computer system operates.
· Firstly it accepts the human inputs. As it is a computational
device, it processes these instructions as well as data guided by the computer program and then responds to it
· High level languages such as C, C++, helps the user to interact with the computer as computer only understands binary language (combinations of 0 and 1) generally used and written for a computer program. So a user or a programmer can freely interact with computer with the help of a good programming language.

Figure 1
Characteristics of good programming:
1. A Programming language needs to be easy to use and have to be simple so that it can be easily learned.
2. It should be portable and must provide the integrated development environment.
3. It should be well structured and properly documented PL helps in coding of various applications.
(
Ques
tion
.

1
: A good programming language helps the programmer by allowing them to talk about the actions that the computer has to perform on a higher level
?
Ans
wer
1
:

Based on section
1, this
statement is
true.
)
1.1 Java, JavaScript: Difference:
· Java and JavaScript although look similar somewhat but are different from each other.
· (
Question 7
:
Java
is just a short form name for JavaScript
?
Answer 7:

javaScript
is different from java as discussed in section 1.1.
)Although JavaScript follows expression syntax, naming conventions of java that why it is previously known as live scripts. Java is compiled every time but JavaScript backed with Runtime environment.
2. JavaScript:
JavaScript is compiled with the interpreter as is integrated; it is a part of a web browser. So a web browser can easily make JavaScript’s understandable to the computer with the help of translation mechanism.
· JavaScript are slower than the compiled languages such as c, c++.
· Lightweight and less complex language
2.1 BINDINGS:
· Special keyword “let” helps in binding. With let keyword browser able to identify that there is a binding in this sentence.
· Console.log helps to print the output.
· There are two types of bindings: constant and variable. Constant binding value remains same for life time and if we try to assign another value, error occurs like in figure 2 Assignment but in the variable bindings, the value changes as shown below in figure 2.
2.2 Name Conventions:
1. A variable ,Starting with digit is not allowed
2. A variable can contain $ and _ but other punctuations...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here