subject

QUICK ANSWER PLS Critical Thinking Questions

This lesson showed you the general form of the syntax for a for loop in JavaScript:
for (initialize counter; condition; update counter) {
code block;
}
What does each part do, and why is it necessary?

Consider this JavaScript loop:
var new = 0;
for (i=3;i<=5;i++){
new=new+i;
}
Explain what the loop does and what the result of executing it will be.

Most people are annoyed when they are asked to type in their password more than once. Can you think of a way to perform data verification that does not require users to type in their password twice?

A website asks the user to enter his or her date of birth with the month first and then the day of the month. Describe what you could do to prevent problems with the code if a user enters the information in the wrong order by placing the day of the month before the month.

Your classmate is frustrated because the code that was designed to add up her five quiz grades is not working properly. What change would you suggest to your classmate based on this code?
for (i=1;i<=5;i++){
sum=0
sum=sum+i;
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
Robots with telescoping arms are sometimes used to perform tasks (e.g., welding or placing screws) where access may be difficult for other robotic types. during a test run, a robot arm is programmed to extend according to the relationship r = 3 + 0.5cos(4θ) and the arm rotates according to the relationship θ=−π4t2+πt , where r is in feet, θ is in radians, and t is in seconds. use a computer program to plot the path of tip a in x and y coordinates for 0 ≤ t ≤ 4s.
Answers: 2
question
Computers and Technology, 22.06.2019 19:10
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
An english teacher would like to divide 8 boys and 10 girls into groups, each with the same combination of boys and girls and nobody left out. what is the greatest number of groups that can be formed?
Answers: 2
question
Computers and Technology, 24.06.2019 06:00
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
You know the right answer?
QUICK ANSWER PLS Critical Thinking Questions

This lesson showed you the general form o...
Questions
question
English, 10.03.2021 14:00
question
Mathematics, 10.03.2021 14:00
question
Mathematics, 10.03.2021 14:00
question
Mathematics, 10.03.2021 14:00
question
Chemistry, 10.03.2021 14:00