Docsity

Computer science 1.1, Study notes of Computer science

Toggle sidebar
bg1
Computer Science Notebook
Activity 1.1.1:
Question 1: No because the steps werent clear as it wasn’t clear where to do
things just what to put.
Question 2: could be more direct on how long is it or the rotation it needs to
be really clear or it wont work correctly as with coding it has to be perfect to work
correctly.
Activity 1.1.2
What does input statement do?: Its how it receives data
What is$
user_name
$and what is it used for?: It’s the Nickname of the user and
its used for if a certain user makes a different input it uses that code for that person
What does print statement do: it makes the code work as if it needs to draw
something
Question 1: Input is what is receives and output is what it puts out such as a circle
pf3

Partial preview of the text

Download Computer science 1.1 and more Study notes Computer science in PDF only on Docsity!

Computer Science Notebook

Activity 1.1.1: Question 1: No because the steps werent clear as it wasn’t clear where to do things just what to put. Question 2: could be more direct on how long is it or the rotation it needs to be really clear or it wont work correctly as with coding it has to be perfect to work correctly. Activity 1.1. What does input statement do?: Its how it receives data

What is user_name and what is it used for?: It’s the Nickname of the user and

its used for if a certain user makes a different input it uses that code for that person What does print statement do: it makes the code work as if it needs to draw something Question 1: Input is what is receives and output is what it puts out such as a circle

Question 2: There is many ways to solve a problem such as if it doesn’t draw a circle check the code make sure its right if it is right then make a variable for circle Activity 1.1. Conclusion Questions: a scenario in which the modulo operator could be useful outside of this course is calendar calculations as you can use it to figure out what day of the week it is. Using already existing code is goo because you know it already works and is what you need for what whatever project you are doing. So the algorithm knows what to put and where at. Activity 1.1. Conclusion Questions: 1: to help achieve the goal or intended output of the program. They also helped us replicate code 2:easier,simple and more readable Activity 1.1. Conclusion Questions: by accelerating the process and reducing errors Activity 1.1. Conclusion Questions: improved readability writing clear, simple code and testing it thoroughly, using tools and standards, and collaborating with others Activity 1.1. Conclusion Questions: when you need to store and manage multiple related items under one name