Announcements and Reminders
|
|
TopicsZoom Policies
The Syllabus Course Notes These
are notes written by the instructor. The notes contain many
of
the same examples that are presented in class. These notes
are
incomplete and will be added to throughout the course. They
will
present a different perspective and a different style than the
textbook. You are encouraged to read and study the notes.
Also, please report any errors or typos to the instructor.
The class TA Sharon
Yang is the class TA. She is available to answer questions using
Canvas email. She will also conduct a TA session to answer
questions on Friday, 3-4 pm. Lab Exercises
Academic Integrity Policy Stay away from Discord and other web-based sites for sharing code. Get your help from the instructor. Get a Linux account on Voyager Locate the "Create Your Business/CS Computer Lab Account" button on the right-hand side of the page. Press the button, and a new browser window will open. This window displays the Computer Lab Account Request. Tutoring Obtain Microsoft Visual Studio 2019
Microsoft Imagine The Microsoft Program will be available for all eligible CIS students to register and download selected software from Microsoft for free, after the census day. https://azure.microsoft.com/en-us/free/students/ Click Activate now > At Sign In window Type 8 digits Student ID@fhda.edu
Next, log in with school Student ID and myportal password.
At the Stay Sign In: Click YES At About You window Review your First and Last Name Email address Phone: cell phone # (suggestion)
Microsoft will automatically send a code to your phone or email in a few seconds. Type in 6-digit code Click at the Sign Up
Wait a few minutes, Azure website will be displayed Click at Software (upper left corner) to see the software list. all the instructors. DeAnza has resumed standard rules and deadlines for dropping classes, receiving a W and requesting Pass/No Pass The temporary rules that were announced for winter, spring and summer of 2020 are no longer in effect. Summary: *Students will receive a "W" grade for all drops initiated by students and instructors after the second Friday of the quarter. For late start courses, students will receive a "W" grade for all drops initiated by students and instructors after the first 20% of the late start session. *All "W" grades, including "EW" will appear on the student transcript, but only "W" grades will count as one "take" in the course. The "EW" grade is not counted as an attempt, and students must petition to get the "EW." Course repeatability rules require students to request to re-take a course after two non-success attempts that result in any of the following: D+/D/D-/ F, NP, or a W. The request process for a 3rd repeat is through MyPortal Student Adobe Sign Forms. A "W" does not count against a student's GPA but will be counted in calculating academic progress and may be a factor in probation or dismissal. *Students may NOT be assigned any "W" grade after the eighth (8th) week of the quarter, without documented extenuating circumstances through submitting an Extenuating Circumstances Petition, which you will find on our Admissions and Registration Student Forms webpage.
Review - an old CIS22A Midterm Suggestions to get started NOW Get and install a compiler for your home/laptop computer(s) Setup your CodeLab account and start working exercises Read Chapter 7 in the textbook Watch this easy video (9 minutes) on functions. This is just to get use to watching videos. Complete the review of the Midterm - ask for help if necessary Email Joe a note and introduce yourself. Tell me your goals, current interests, hobbies, your nickname or something interesting about yourself. Ask a question. Make sure you have his email address correct. You will get a reply. If you don't get a reply, then you don't have the correct email address (and you won't be able to submit exercises and assignments). Read me |
|
Lab Exercise #1Put your name, the compiler used, and Lab Exercise #1 in a comment at the top of your program. Email your source code. This lab exercise is due at the beginning of the next lecture. You may email your lab solution prior to that. Remember to use "Ex1" as the subject of your email submission. Write a program containing a loop that you execute 12 times. In the loop, generate two random numbers between 1 and 100. Divide the first random number by the second random number and print the result using 3 decimal places of accuracy. Your output should look like this - except for different random values:
Hint: you should get a floating-point answer (a cast is suggested). |