Election Sim Flashcard

Flashcard
•
Information Technology (IT)
•
University
•
Hard
Wayground Content
FREE Resource
Student preview

13 questions
Show all answers
1.
FLASHCARD QUESTION
Front
How many District Votes should there be in total? Options: 1 (inclusive) -> 1000 (inclusive), 1 (inclusive) -> 1000, 1 -> 1000 (inclusive), 1 -> 1000
Back
1 (inclusive) -> 1000 (inclusive)
2.
FLASHCARD QUESTION
Front
How do you make a random 1 (inclusive) -> 1000 (inclusive)? Options: rand.nextInt(1000), rand.nextInt(1000 + 1), rand.nextInt(1000) + 1, rand.nextInt(1) + 1000
Back
rand.nextInt(1000) + 1
3.
FLASHCARD QUESTION
Front
How many class constants should the students make?
Back
6
4.
FLASHCARD QUESTION
Front
How do you round a variable (num) to 2 decimal places? Options: (int) Math.round(num) , (int) Math.round(num / 100) * 100.0; , (int) Math.round(num * 100) / 100.0 , Math.round(num * 100)
Back
(int) Math.round(num * 100) / 100.0
5.
FLASHCARD QUESTION
Front
How should you calculate final vote percentages? Options: Sum each simulation's vote count for each party, divide by number of simulations; Sum each simulation's vote percantage for each party, divide by number of districts; Sum each simulation's vote count for each party, divide by number of districts; Sum each simulation's vote percantage for each party, divide by number of simulations
Back
Sum each simulation's vote percantage for each party, divide by number of simulations
6.
FLASHCARD QUESTION
Front
How many random objects should students create?
Back
1
7.
FLASHCARD QUESTION
Front
How many parties are running for election in this assignment?
Back
2
Create a free account and access millions of resources
Similar Resources on Wayground
4 questions
Tourism Concepts

Flashcard
•
KG - University
15 questions
Basic Integration and the FTC

Flashcard
•
12th Grade
18 questions
Javascript Basics Flashcard Review

Flashcard
•
12th Grade
10 questions
Java Classes and Objects

Flashcard
•
12th Grade
13 questions
Arrays

Flashcard
•
University
10 questions
Understanding Learning Disabilities

Flashcard
•
University
10 questions
FLASHCARD 1

Flashcard
•
KG - University
14 questions
AP CS ArrayLists

Flashcard
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
15 questions
Disney Trivia

Quiz
•
University
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University
20 questions
Disney Trivia

Quiz
•
University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
5 questions
Examining Theme

Interactive video
•
4th Grade - University
23 questions
Lab 4: Quizziz Questions

Quiz
•
University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University