Forum Replies Created
- AuthorPosts
Matthew Sparrow
ParticipantToday we did a lot of things related to math. I learnt more about functions in python.
Matthew Sparrow
ParticipantYes, a function can have more than one argument when it is placed and used correctly.
Yes, arguments can be stored in variables.
Yes, I think it makes a difference because it depends on where you place your arguments, if placed differently it might display different.Matthew Sparrow
ParticipantThe output I expected was an error, and it was an error. After you add “num1 = int(firstNumber) and num2 = int(secondNumber)” between lines 2 and 3 nothing changed yet because num1 doesn’t work with firstnumber and num2 doesn’t work with secondnumber. After I changed “difference = firstNumber – secondNumber” to “difference = num1 – num2” the code was working. the purpose of the function int() is to convert the specific value into an integer number. It made the number subtract one another to get the answer.
Matthew Sparrow
ParticipantYou will need to need another compound class to make it 5 because it starts with a zero, or you can write “print(compoundClass[4)]” because alkyl halides is on the fourth line.
If you program it to print compoundclass 5 it won’t print anything and it will give you an error message because they is nothing after compound 4, and this doesn’t start with a one, but a zero.
If you put print(compoundClass[-1]) it will print alkyl halides because it is the last one in the message, so it is going backwards. [“alkanes”, “alkenes”, “alcohols”, “ketones”, “alkyl halides”] backwards. starts with alkyl halides
When you put print(compoundClass[-2]) instead of print(compoundClass[-1]) it will come back to being a ketones again, and it is the same as print(compoundClass[3]) from the start. [“alkanes”, “alkenes”, “alcohols”, “ketones”, “alkyl halides”] starts with ketones.
The positive numbers will start from 0-infinite you add in, and the negative numbers will start with the last thing on the list to the first thing on the list.
This “compoundClass = [“alkanes”, “alkenes”, “alcohols”, “ketones”, “alkyl halides”]”Matthew Sparrow
ParticipantA supercomputer is an upgraded version of a PC, supercomputers are used for weather forecasting, code-breaking, and types of science or math because of their great speed and memory. Mainframe computers are smaller than supercomputers, and they are used for storing data.
Mainframes can run many things at once, and it is good for multitasking. time-sharing is when the operation of a computer system by several users at once.
Matthew Sparrow
ParticipantIn my opinion, resources are something you need or use to stay alive or resources for something to process.
CPU – CPU or the brain of the computer is very important in a computer, without a CPU your computer won’t even work. When building a computer you must invest a good amount of money in CPU to match your use. If the CPU is limited and it is overworking it will become hot, around 70C-90C will cause the computer to shut down itself.
Power Supply – The power supply is also an important part of computer building. When building a pc your CPU and GPU will have watts recommendations, and you need to add both CPU and GPU watts. You need to find a power supply that supports the number of watts or else the power supply won’t keep up and end up shutting down the computer.
Motherboard – The motherboard is the most important part of the computer in my opinion. The motherboard is where the CPU, GPU, RAM, and cables sit. You need a powerful motherboard that will support your CPU because now there are two CPU brands competing against each other (Intel and AMD) if you go with AMD you need a motherboard that supports an AMD CPU and not Intel. You also need to make sure that the motherboard supports the speed of your RAM or else your RAM won’t use its maximum power or lack power.
Matthew Sparrow
ParticipantIf I would pick I will go for windows and ios because I only use these two operating systems. Windows and ios are very similar, but the only difference would be the system’s layout. The user interface is different between windows and ios, and both operating will have different types of security systems. If I’d need to choose either Windows or ios, I would go for windows because I am used to the interface and the layout of the windows, and I’ve been windows for a long time. Some day I would like to try using ios on computers. I think they both have pros and cons between each other, and I would say they are both solid operating systems. Windows PCs are more for people who play games, and ios are better for designing, photoshopping photo editing, and overall better battery life. If you play games you should go for windows, but if you don’t play games and instead focus on heavy work you should go for ios. Windows have been up and running for nearly 36 years now, and ios started in 2007, so windows will have more experience in their operating system.
Matthew Sparrow
Participant1. File compression is when you reduce the size of a file to save more storage and space. By using compression you use save more storage.
2. Lossless compression is reducing a size, but the file doesn’t lose any data before the compression. Lossy compression is the opposite of the lossless compression, instead it reduces it file and eliminate some of the date from the file. For example, Spotify is a music streaming, Spotify or most music apps use lossless, so the audio qualify doesn’t sound terrible. You can also use lossy compression, but there are cons when it comes to it. You reduce the file or image and loses data and the quality.
3. Lossy includes MP3, MP4, AAC, WMA, Ogg and image formats such as JPEG.Matthew Sparrow
Participant1. People who use VPNs can hide their network information, others can’t see your location.
2. VPNs are good for tv shows such as Netflix because Netflix has different shows in different countries. If you connect your VPN to Netflix you will be able to change your location, but not in real life. VPN is good because you can enjoy your favorite series or movies from other countries that aren’t available in yours.Matthew Sparrow
Participantsymmetric encryption uses a private key to encrypt and decrypt an encrypted email. asymmetric encryption uses the public key of the recipient to encrypt the message.
Matthew Sparrow
Participanttwo-factor authentication is an amazing thing that I recommend everyone to use because you need to receive a code to get in after you entered your password. Fingerprint or face ID would be good, but there’s still a chance of getting hacked. The bank should also improve its security system to prevent hackers.
Matthew Sparrow
ParticipantA constant value can not be changed.
C, Java, Python, C++, C#, Visual Basic, JavaScript, PHP, Assembly Language, and SQL
Different jobs use different programming languages. You pick the one that you prefer to use.
Matthew Sparrow
ParticipantOne of the biggest is from British Airways, this is important for the passengers because they needed to work in other countries or see their family, but the flight got delayed. The passenger got their refund back so that is good enough.
Matthew Sparrow
ParticipantSynchronous and Asynchronous depend on what the student is comfortable with because no one is the same.
- AuthorPosts