If you don’t know the answer, don’t try to answer, *sigh* some people these days...
Can a syntax error occur in a block-based code? Why or why not?
No. Because block code is not actual code, it’s like a simplified version.
What are some strategies that you can use when you debug a program?
When there is a bug, don’t look through the whole code, you should focus on the area that may be causing the bug.
How would you describe the difference between a syntax error and a logic error?
Syntax error is when the rules of the language aren’t followed (like using a variable wrong or forgetting a colon.)
A logic error is a bug within the structure or algorithm of a code.
What are some real-life situations that require a program that is iterative? Include at least three examples in your answer.
Apple releases different version of the iPhone to make it work better.
Coke uses different formulations of Coca Cola to get the best tasing version.
A cook may change a recipe to make it taste better.
How would you describe the relationship between blocks of code and commands?
Code makes the block, commands run the blocks.
Answer:
1. A syntax error cannot occur in a block based code because block based code isn’t actual code, it is a version of it.
2. When there is a bug, you should go to the place where something wrong happened and fix that.
3. A syntax error is when we type something that is not in the computer language. A logic error is in the algorithm of a code.
4. The Tesla company releases new models of teslas. An author publishes a new book. A person changing their furniture.
Explanation:
Demonstrate how to assign a value to the third element of an array called finalGradeArray.
Answer:
It's really important that you say in which language you wanna do this. But like in python:
finalGradeArray.insert(2, "New value")
Explanation:
The abbreviation “px” stands for
A.
perimeter x.
B.
pixels.
C.
point x.
D.
parts of x.
Answer:
c
Explanation:
Did the ANSI developed the A series, B series, or the Arch series?
Answer:
ANSI developed the B series.
Explanation:
Change Unit. An ANSI B piece of paper measures 279 × 432 mm or 11 × 17 inches. ANSI B is part of the American National Standards Institute series, with an aspect ratio of 1:1.5455. ANSI B is also known as 'Ledger' or 'Tabloid'.
Write code that does the following: opens the number_list.txt file, reads all of the numbers (1 to 100) from the file, adds all of the numbers read from the file and displays their total. then closes the file.
The code that does the following: opens the number_list.txt file, reads all of the numbers (1 to 100) from the file, adds all of the numbers read from the file and displays their total. then closes the file is given below.
What is the code about?Below is an example Python code that should accomplish this task:
python
# Open the file for reading
with open("number_list.txt", "r") as file:
# Read all the lines and convert them to integers
numbers = [int(line) for line in file.readlines()]
# Sum up the numbers and display the total
total = sum(numbers)
print("The total is:", total)
# Close the file
file.close()
Therefore, Assuming that the number_list.txt file contains one number per line from 1 to 100, the code should read all the numbers from the file, sum them up, and display the total. Finally, the file is closed automatically when the with block is exited.
Read more about code here:
https://brainly.com/question/26134656
#SPJ1
Answer
Explanation:
I don't know
How does a resident virus differ from a non-resident virus? !!!25 POINTS!!!!!
A) Resident viruses simply disrupt operations while non-resident viruses will control hosts.
B)Resident viruses will control hosts while non-resident viruses simply disrupt operations.
C)Resident viruses find networks to infect while non-resident viruses load themselves into memory.
D)esident viruses load themselves into memory while non-resident viruses find networks to infect.
Answer:
The correct answer is **D)** Resident viruses load themselves into memory while non-resident viruses find networks to infect. A resident virus is a type of computer virus that’s deployed and resides within a computer’s random access memory (RAM). A non-resident computer virus, on the other hand, is a type of computer virus that doesn’t reside within a computer’s RAM. Non-resident computer viruses can still be deployed within RAM, but they don’t stay there.
Which of the following statements is true regarding input and output?
Input is the raw data that is entered into the computer for processing.
Input devices, such as a printer, are used to convey interpretations to users after processing.
Output devices, such as a keyboard, are used to enter data into a computer.
Output is data before it is processed and is not necessarily meaningful.
Answer:
Input is the raw data that is entered into the computer for processing.
Can you please make a simple python program? I will give you 20 points and branliest if it is good! It must include:
·At least 3 variables
·Contain a new function
·And must have at least 10 lines of code
Answer:
# Solve the quadratic equation ax**2 + bx + c = 0
# import complex math module
import cmath
a = 1
b = 5
c = 6
# calculate the discriminant
d = (b**2) - (4*a*c)
# find two solutions
sol1 = (-b-cmath.sqrt(d))/(2*a)
sol2 = (-b+cmath.sqrt(d))/(2*a)
print('The solution are {0} and {1}'.format(sol1,sol2))
Hope This Helps!!!
Answer:
# Newton's Law of Universal Gravitation
import math
print("This program will calculate the gravitational force between two objects")
# Gravitational Constant
G = 6.67408
while True:
try:
m1 = float(input("\nInput mass of first object (in kilograms): "))
break
except ValueError:
print("Invalid input!")
while True:
try:
m2 = float(input("Input mass of second object (in kilograms): "))
break
except ValueError:
print("Invalid input!")
while True:
try:
d = float(input("Distance between the objects (in meters): "))
break
except ValueError:
print("Invalid input!")
force = G * (m1 * m2) / math.pow(d, 2)
print("The gravitational force between these two objects is {0} newtons!".format(force))
(50pts but don't look it up be honest) What was the bestselling videogame console of all time?
Answer: Down!
Explanation:
I think that the answer is play station.
either its play station 2 or play station 4
answer
the answer is PlayStation 2
explanation
What to do when hearing someone bang on your door? Protection question! 20 points
Answer:
if someone knocks at your door, do NOT open the door, and ask them what they want. If they’re asking for help (red flag)“OK, I get that you need help, let me call the police right now and they will be able to assist!”
Explanation:
How do you code things to make shapes out of them and add color
Answer:
go to KhanAcademy and search "Coloring with code" and it should be the first thing at the top
Which best describes desktop publishing? the process of designing and laying out printed material the positioning of text, graphics, and white space on a page the style of letters and how they are arranged the use of images and colors
Explanation:
the process of designing and laying out printed material.
Answer:A photographic proof where all colors are shown in blue, best used for spot color jobs, and it is used primarily to ... WYSIWYG is technical jargon that describes.
Explanation:
In 2-4 sentences, explain the difference between the “save” and the “save as” commands.
Save and Save As would be that Save aims to update the current content of the last stored file, whereas Save As aims to save a new folder or to save an existing file to a new place with the identical name or another title
Answer: The difference between save and save as is that save is a command in the File menu of Microsoft Word that enables a user to store a document back to the file or folder from where it came in the first place. Meanwhile, save as is a command that enables a user to store a new document in a new location.
Most people do not have any idea where the Internet came from and yet it is so pervasive in our lives and many of you may think it has been around for centuries...the truth may surprise you. What decade was the Internet invented? Group of answer choices 1970s 1870s 1950s
Answer:
1970s
During the 1970s, a workable, brilliant invention that helps us everyday called internet. Nowadays, billions of people use different types of internet. Hope it helps!
Write a paragraph of at least 100 words of this research topic
"What is Artificial Intelligence? and how humans are going to use it in the next 30 years? What are the pros and cons if the human brains will become Super Computers?"
Please and thank you!
Answer:
Artificial intelligence (AI) refers to the simulation of human intelligence in machines that are programmed to think like humans and mimic their actions.
Explanation:
So, you need to write these in 100 words so try thinking about some kids of high tech that could be in the future. Also for the second question people can use this for the next level of life on earth... try finding some idea in goggle it help me
Answer:
Artificial Intelligence, or AI, is man made robotic minds. Humans will probably use it to make robotic servants or replace the human brain with it. The pros of that, are we would have easy access to the internet. We would not have to bring laptops and chargers. The cons of that are, the new AI brains could revolt sending us into a zombie like trance. People could control the world by just adding a virus to the internet. Those are the pros and cons of having an AI robotic brains. Hope you have enjoyed and will have a great day!
Explanation:
Impromptu speaking ability is very important in the workplace to clearly and effectively communicate ideas. An effective impromptu speaker can
speak multiple languages.
organize and express ideas quickly.
talk really really fast.
tell people what they want to hear to make them happy.
Answer:
organize and express ideas quickly
Explanation:
Explain the difference between SLR cameras’ and point-and-shoot cameras’ viewfinders. Which viewfinder do you think would be easier to use? Why?
Answer: A point-and-shoot digital camera estimates the light that will reach the sensor on an LCD screen. A SLR camera is a single lens reflex camera. As an SLR camera has a reflex mirror, it allows you to see through the viewfinder the real image that the film will see.
Explanation:
Optical viewfinders show you a true image. Which means that there's no lag; you're simply looking at a scene through a lens. Cameras using electronic viewfinders, on the other hand, have to convert the light into a digital image and then display it via the EVF. And that can take time, which manifests as viewfinder lag.
How do solar ovens track the sun as it moves during the day?
Answer:
A sort of solar thermal collector is a solar cooker. It "collects" and retains the thermal (heat) energy of the Sun. When high frequency light (visible and ultraviolet) is transformed into low frequency infrared radiation, heat is created.
Explanation:
Carina's computer is turning off without warning. Which of the following steps should she take to troubleshoot the problem?
A: Try several fixes at once.
B: Uninstall the anti-virus software.
C: Check the cable connections.
D: Remove devices.
A college campus uses robots to give students tours. The prospective students can ask the robot questions about life on campus. The robot allows the visiting student to choose which parts of campus to visit. What best describes the type of AI possessed by the robot?
weak AI
neural network AI
symbolic AI
Strong AI
The type of AI possessed by the robot in this scenario is Weak AI, also known as Narrow AI or Applied AI.
Weak AI is designed to perform a specific task, and it operates within a limited domain. The robot in this scenario is programmed to give tours of the campus and answer questions about life on campus. It does not have general intelligence, consciousness, or the ability to think and reason like a human being, and it cannot perform tasks outside of its programmed capabilities.
In contrast, Strong AI, also known as Artificial General Intelligence (AGI), is a theoretical form of AI that would possess human-like intelligence and the ability to reason and perform any intellectual task that a human can do. However, Strong AI does not currently exist.
Neural network AI and Symbolic AI are categories of techniques and approaches used in the development of AI, and they can be applied to both Weak AI and Strong AI systems. Neural network AI involves developing algorithms that are modeled after the structure and function of the human brain, while Symbolic AI involves creating AI systems based on a set of rules or symbols. However, the type of AI possessed by the robot in this scenario is more specifically described as Weak AI.
Rachel measures how much light is given off by a lightbulb. She realizes the light given off is less than the electricity consumed by the lightbulb.
What happens to the extra electricity the lightbulb consumes?
Answer:
The extra energy is mostly released as heat and sound.
Explanation:
Question 1(Multiple Choice Worth 5 points)
(03.01 MC)
Which line of code will only allow a non-decimal point to be stored in a variable?
candyCost = int(input("How much is the candy?"))
candyCost = input("How much is the candy?")
candyCost = float(input("How much is the candy?"))
candyCost = str(input("How much is the candy?"))
Question 2(Multiple Choice Worth 5 points)
(03.01 MC)
Cheri's teacher asked her to write a program using the input() function. What will this allow her program to do?
Add comments to the code
Allow others to understand the code
Display a string on the screen
Make the program interactive
Question 3(Multiple Choice Worth 5 points)
(03.01 MC)
Jabari is writing a program which prompts a user for a value that is negative and has a decimal. Which function should he use?
float()
int()
print()
string()
Question 4(Multiple Choice Worth 5 points)
(03.01 LC)
In programming, what is a string?
A cable that connects a computer to hardware
A method of threading code into a computer
A system of organizing letters alphabetically
A way to store a sequence of letters, numbers, or symbols
Question 5(Multiple Choice Worth 5 points)
(03.01 LC)
Which function converts the user's input to a number without a decimal?
float()
int()
print()
string()
Answer:
b
Explanation:
it's not a c or d and now I have to make it 20 characters long so I will do this
THis took FOREVER! please go check it out, if you have seen my demo to this game, you will like the full version! https://scratch.mit.edu/projects/485122429/
Answer:
Sure! I'll comment in the comments of this answer on how it was <3
Answer:
The game is great good job!!
Explanation:
What two types of devices have a keyboard integrated into the screen?
Question 1 options:
laptops and smartphones
tablets and electric typewriters
typographers and tablets
tablets and smartphones
Answer:
tablets and smartphones
Explanation:
When the prompt function is used in JavaScript, _____ appears.
A.
an error message
B.
a pop-up box
C.
a data warning
D.
a password request
Answer:
B
Explanation:
instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog
Who can name this song? THIS MY FAVORITE SONG!!! Trivia of the day: Level: EASY
This will at least get you 5 pts if you answer.
Lyrics:
Woo, woo
I pull up like
How you pull up, Baby? How you pull up? (Oh)
How you pull up? I pull up (Seth in the kitchen)
Let's go
A Person typed 180 words per 6 minutes with errors in 18 words. Find the gross speed ,Net
speed, and accuracy percentage of his typing.
Which device would help someone train for a marathon?
Drone
Navigation system
Smart watch
VR headset
I think Smart watches will be good as it will track your breathing, heartbeat, and steps. VR head set will not make you go so far, drones can look at the track you are running but it is not helping you run, and i don’t know about navigation systems.
❤️❤️Please answer the six questions ✨BRAINIEST✨ For correct answer ❤️❤️
Digital and analog audio recordings have pros and cons. Do you think the pros of digital recordings outweigh the cons and therefore prefer digital audio recordings? Or, do you think the cons outweigh the pros and therefore you prefer analog audio recordings? Explain. ( USE C.E.R *Claim, Evidence, Reasoning* )
I think the pros of digital recordings outweigh the cons! I prefer digital audio recordings over analog audio recordings because analog recordings require more financing and preservation. Compared to digital recordings, analog recording equipment is more expensive and the tape deteriorates over time. Which to me personally, doesn't seem to be worth the amount of effort since it's such a process to go through. You can possibly go into debt due to that. Digital recording equipment, on the other hand, is more affordable. It's less time-consuming and although it does have its disadvantages, they're minor. Digital recordings can be stored online. Its data get corrupted? You can get it back! It won't cost you anything.
When Eliza was first written (in 1966), some people thought it seemed human. Did Eliza seem human to you? Why or why not?
Answer:
yes she is a real person she had a son named Phil and her husband was alexander Hamilton he died in a duel with the vice president Aaron burr
there son died in a duel two so Eliza was just alone in the world with out her some and husband she ran a orphanage and saw all of the kids and it reminded her of Alex
Explanation:
Answer:
yeah shes human i refuse to think shes not
Explanation: