LAB 5 - This course was taught by Karen Doore. This is the lab submission paper that PDF

Title LAB 5 - This course was taught by Karen Doore. This is the lab submission paper that
Course Computer Science Laboratory ( Non-Majors )
Institution The University of Texas at Dallas
Pages 3
File Size 206.4 KB
File Type PDF
Total Downloads 64
Total Views 146

Summary

This course was taught by Karen Doore. This is the lab submission paper that includes the code, survey and the khan academy link to open the code. ...


Description

CS1134 Lab Assignment Submission Form: Spring 18 Student Name

Fariha Rahman

Section

CS1134.101

Lab Number / Title

Lab assignment 5 - follow the mouse

Link to Code

https://www.khanacademy.org/computer-programming/lab-5-follow-the-mouse/ 5352619048468480

Screenshot Image

Copy/Paste All Project Code

var x = 150; var y = 150; var cartoonmouse = function() { pushMatrix(); fill(255, 0, 0);// red fill for head and body rect(x-55,y-1,110,4,166);//arms rect(x-30,y-30,60,60,138);//red head rect(x-30,y-22,59,77,137);//body fill(255, 255, 255);//white fill for eyes mouth and ears ellipse(x+17,y-37,30,30);//right ear ellipse(x-17,y-36,30,30);//left ear noStroke();//no stroke for eye ellipse(x-14,y-7,20,20);//left eye ellipse(x+13,y-7,20,20);//right eye arc(x,y+8,36,36,6,187);//mouth fill(115, 109, 109);//fill color for pupil ellipse(x+13,y-7,10,10);//right pupil ellipse(x+-15,y-7,10,10);//left pupil popMatrix(); }; var draw = function() { background(0, 0, 0);// background color is black cartoonmouse();//call the cartoon mouse function }; var mouseDragged = function(){ if (mouseX > x-30 && mouseX < x+50 && mouseY > y-50 && mouseY < y+50){//if statement to drag the cartoonmouse x = mouseX; y = mouseY; } };

CS1134 Lab Survey Questions: ( 5 Points) Your answer selections and comments on this part of the assessment will not impact your grade, your answers will be consolidated into an excel file and reviewed with no student identification info associated with answers. Your answers will be used to improve the course for future semesters. Here are a number of statements that may or may not describe your beliefs about learning computer science. You are asked to rate each statement according to the following rating scale: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree. Choose one of the above five choices that best expresses your feeling about the statement. If you don’t understand a statement, leave it blank. If you understand, but have no strong opinion, choose "Neutral". Please choose the appropriate response for each item: Mark your choice in the table below, use an X to indicate your answer.

Strongly Disagre e

Question

Disagre e

Neutra l

Agree

1

The assignment instructions and requirements were clearly defined.

2

The computer science concepts associated with this assignment were clearly defined and correspond to concepts that have been covered in CS1334.

x

3

I attended the lab session that accompanied this assignment

x

4

The lab assistants provided guidance that helped me complete the assignment

x

5

This assignment provided me an opportunity for creative design.

x

6

This assignment has increased my interest in learning more about computer science.

x

Strongly Agree

x

7. Please provide comments to help improve the design of this assignment, what did you enjoy about the assignment, what was challanging, what was confusing? !

I enjoyed making this assignment however, it was difficult to understand. we should be provided with tutorials or references to help us make the project.

! ______________________________________________________________________________________ __________________ ! Grading Guidelines: Labs are graded according to the following guidelines:! 1. 2. 3. 4. 5.

Correct submission content and format Code comments – describe code details Well organized and structured code Lab Survey Questions Assignment specific requirements

10 points 10 points 5 points 5 points 70 points...


Similar Free PDFs