Answer:
This is using c++ syntax, you might need to make slight adjustment for other languages.
First activity:
string firstSnack = "chips";
string secondSnack = "pizza";
string thirdSnack = "apples";
string bestSnack = firstSnack;
bestSnack = secondSnack;
Second activity:
double apple = 0.5;
double banana = 0.75;
double orange = 1.43;
double total = apple + banana + orange;
Explanation:
When first declaring a variable, you want to specify the type (such as int, double, string, bool, etc.) and then the name. You can set the variable value in the declaration, or you can set it to a value later in the program by not having the equals sign and whatever comes next.
Answer:
clipart ...........................
Explanation:
clipart is the correct answer for the above question.
Observing, Looking, Collecting, there are a few words for "gathering information with your eyes".
Answer:
The correct option is Option B
Explanation:
We need to find examples of client-side code.
Client Side code: The part of code, that doesn't require server for performing specific task
SO, The correct option is Option B
Prompt for special characters in user name
Reason: We can use alert to generate prompt using JavaScript or through validation and it can be done on client side.
All other options, we need to hit the server to perform the task, So they are not client-side code.