<span>Many of the web server controls have a _____ menu that gives developers options to perform common tasks and settings
Answer = Edit Menu</span>
Please Help! Unit 6: Lesson 1 - Coding Activity 2
Instructions: Hemachandra numbers (more commonly known as Fibonacci numbers) are found by starting with two numbers then finding the next number by adding the previous two numbers together. The most common starting numbers are 0 and 1 giving the numbers 0, 1, 1, 2, 3, 5...
The main method from this class contains code which is intended to fill an array of length 10 with these Hemachandra numbers, then print the value of the number in the array at the index entered by the user. For example if the user inputs 3 then the program should output 2, while if the user inputs 6 then the program should output 8. Debug this code so it works as intended.
The Code Given:
import java.util.Scanner;
public class U6_L1_Activity_Two{
public static void main(String[] args){
int[h] = new int[10];
0 = h[0];
1 = h[1];
h[2] = h[0] + h[1];
h[3] = h[1] + h[2];
h[4] = h[2] + h[3];
h[5] = h[3] + h[4];
h[6] = h[4] + h[5];
h[7] = h[5] + h[6];
h[8] = h[6] + h[7]
h[9] = h[7] + h[8];
h[10] = h[8] + h[9];
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
if (i >= 0 && i < 10)
System.out.println(h(i));
}
}
Answer:
B) 5 m/s
Explanation:
Took the test and this was the correct answer :)
Answer:
Static web pages are sent as it is at web server without being processed additionally.
Dynamic web pages content may change, and server hosting dynamic web pages return content after processing trough a program.
Examples of dynamic and static web pages are below
Explanation:
<em><u>dynamic websites</u></em>
f o o t y r o o m (.co) It is a football website. Displays latest highlights and football stats. It is dynamic because it gives live match scores, as the scores change, content change as well.
a c c u w e a t h e r (.com) It shows weather information. It is dynamic because when requested, displays current weather information.
x e (.com) It is a currency website. Dynamic because it shows live exchange rates.
<em><u>static websites</u></em>
s c i p y - l e c t u r e s (.org) It is a website about scientific python environment. It is static because it gives same content whenever requested.
d o g a c a n d u . b l o g s p o t (.com) it is a blog. Static because the requested content doesn't change unless the blogger adds a new story.
z t a b l e (.net) It is a website about z-score values and includes z-tables. It is static because its displayed as it is.
B) which ice cream flavor do the most student prefer?