

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The announcements, assignments, and exercises for csis 110 lecture 22, which covers generating random numbers and dna sequences using java's random class. Students are asked to read chapter 5, sections 5.1 to 5.4, complete a programming assignment, and take a quiz. The lecture also includes a lab exercise where students create a generate class to generate random dna sequences.
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!
Announcements: Quiz Wednesday. Read Chapter 5, sections 5.1 to 5.4. Programming Assignment on course web page Midterm Grades: 25% Quizzes, 35% HW/Labs, 40% Programs Random Numbers In the real world, some things occur randomly, such as: flipping coins, rolling dice, atomic decay. What are some other situations where randomness occurs or is useful?
Methods: use the random number generator to create random numbers. randomGenerator.nextInt() randomGenerator.nextInt( max ) Let's say that we wanted to use a random number generator to simulate rolling a single die. What values do we need to generate? How would we do this?