We will meet in the board room at 25N at 5:45 tonight.
Tonight’s Agenda:
- Brief review of last meeting
- Web Chat with DePaul University women
- JavaScript Part 2:
- Use of the Developer Console for writing and testing JavaScript
- Conditionals
- Concatenation
- Prompt for Input
- Alerts to display popup messages
- Notes for tonight: FVGCC JavaScript Part 2
- AP Sample Exam Question # 1 from: http://media.collegeboard.com/digitalServices/pdf/ap/ap-computer-science-a-course-description.pdf
Consider the following code segment.
for (int k = 0); k < 20; k = k + 2)
{
if (k % 3) == 1)
{
System.out.print (k + “ “)’
}
}
What is printed as a result of executing the code segment?
(A) 4 16
(B) 4 10 16
(C) 0 6 12 18
(D) 1 4 7 10 13 16 19
(E) 0 2 4 6 8 10 12 14 16 18