<jupyter_start><jupyter_text>1. How many arguments does the point() function take? Hint: Arguments are the numbers in brackets at the end of the function call separated by commas.  Ans: 2  2. Which of the following commands draw the line in the picture below? Two of the answers below are correct, select them both. Hint: Don't worry about the precise coordinates try and work out the rough direction of the line.  Ans: line(100, 80, 320, 250); line(320, 250, 100, 80);  3. Which of the following commands drew the shape in the picture below?  Ans: ellipse(200, 150, 100, 50);  4. Which of the following commands turns the shape green?  Ans: fill(0,255,0)  5. Which of the following commands draws a square to the screen?  Ans: rect(50, 100, 100, 100)  6. Do the following two triangle commands draw the same triangle or a different triangle?<jupyter_code>triangle(100,100,150,50,200,100);
triangle(150,50,200,100,100,100);<jupyter_output><empty_output><jupyter_text>Ans: the same triangle   7. The code below draws the triangle as shown in the first image. what is the smallest number of arguments used in the triangle function call do you need to change to draw the triangle in the second image?<jupyter_code>function setup() { 
  createCanvas(400, 400);
} 

function draw() { 
  background(0);
  fill(200,0,0);
  triangle(100,100,150,50,200,100);
}<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.08616944243301955, 'fraction_numerical': 0.08689355539464157, 'mean_word_length': 5.034934497816594, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '133503', 'license': 'MIT', 'n_tokens_mistral': 503, 'n_tokens_neox': 409, 'n_words': 191, 'path': 'Coursera/Introduction to Computer Programming/Week-2/Quiz/Ellipse, rectangle, line, triangle, point.ipynb', 'repo_name': 'manipiradi/Online-Courses-Learning', 'size': '1381'}