Answer:
The correct answer to this question is given below in the explanation section.
Explanation:
This given tree has four nodes. Node A is a parent node in this tree, while B, C, and D are child nodes of A.
The given options about the depth of the tree are:
A). 0B). 1C). 2D). 3The correct option to this question is (B) i.e. the depth of this tree is 1.
Because we know that the depth of a node M in the tree is the length of the path from the root of the tree to M. So, in this case, the depth of node A to node B, C, and D is 1. So, the correct option to this question is B. i.e the depth of the given tree is 1.
Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be. What kinds of errors does Erin need to fix?
logic errors
database errors
debugging errors
syntax errors
Answer:
A simple syntax error :)
"A character or string incorrectly placed in a command or instruction that causes a failure in execution."
Good luck! Hope this helped! :D
The kinds of errors does Erin need to fix is a simple syntax error.
What is syntax error?Syntax is a character or string when incorrectly placed in a command or instruction results in failure while executing.
Erin’s classmate said that the program that they were working on is not running properly because the classmate accidentally put in commas where semi-colons should be.
The correct way to remove syntax error is putting colon and semicolon on the right place.
Learn more about syntax error.
https://brainly.com/question/18271225
#SPJ2
please help me I want the answer for the 3rd question
Select all the correct answers.
In which TWO ways does e-governance empower citizens?
Citizens can obtain information directly from government websites.
Citizen can easily fix appointments with senators online.
Citizens do not need to travel to government offices.
Citizens can vote online on the bills introduced in the legislature.
i will have more questions under ur answers
Answer:
Citizens can obtain information directly from government websites.
Citizens do not need to travel to government offices.
Explanation:
These seem the most appropriate to me.
If you draw strength from video games, how?
Answer:
I really dont know
Explanation:
Thank u for the pts tho < :)
Which are examples of primary sources? Check all that apply.
diary
newspaper article
biography
photograph
speech
Answer:
A, D, E
Explanation:
Diaries, photographs, and speeches are all forms of primary sources, whereas biographies and newspaper articles are written by a secondary source.
Answer:
a,d,e
Explanation:
Find true or false. A hacker is hacking software with access in sensitive information from your computer
When a customer makes an online hotel booking the database is updated by using
A) table
B) form
C) query
D)report
When a customer makes a booking, the database is updated by using a form.
Forms in a database are necessary for the manipulation and the retrieval of data. It helps with entering, editing as well as displaying data.
The form allows you to add data to the already existent table and it can also help one to view already existent information.
A form can also be used to view information from query. When this is the case, it searches and analyzes data.
Read more at https://brainly.com/question/10308705?referrer=searchResults
what is the computer?
Answer:
an electronic machine that can store, find and
Sonora wants to extend the cells to be added in her formula. What is the quickest way to add more cells?
O Go to the Function Library group and click Insert Function.
Click the Insert tab in the ribbon and then Equation.
O Type the ranges in the parentheses in the formula bar.
O Left-click on a cell that is included and drag the cursor.
Answer:
D
Explanation: took the test on edge
Answer:
Left-click on a cell that is included and drag the cursor.
Explanation:
[Exceptions, Function calling another function] Write a function ticker() that first runs (calls) read_ticker() and then stores the returned dictionary. It then runs an interactive loop with the user in which the user is prompted for a company name. If the company name (key) is in the dictionary, then its ticker form and the IPO year is printed. Otherwise a warning is printed that the company name is not in the list. If the user just hits return without entering a name, the loop stops.
this is the function that needs to be called:
def read_ticker():
d = {'1347 Capital Corp.': ('TFSCW', '2014'), '1347 Property Insurance Holdings, Inc.': ('PIH', '2014'), '1-800 FLOWERS.COM, Inc.': ('FLWS', '1999')}
return d
def read_ticker():
d = {'1347 Capital Corp.': ('TFSCW', '2014'), '1347 Property Insurance Holdings, Inc.': ('PIH', '2014'),
'1-800 FLOWERS.COM, Inc.': ('FLWS', '1999')}
return d
def ticker():
di = read_ticker()
while True:
try:
name = input("Enter the name of a company: ")
if name == "":
return
print(di[name])
except KeyError:
print("Name not found! Please enter a valid name!")
ticker()
I hope this helps!
what is the meaning of .com in computer
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The terms ".com" is the most common term that you see at the end of the domain name. This term is most widely used in computers and in websites. The dot com ".com" is a suffix and most common suffix in website addresses.
Furthermore, the term ".com" is short for a commercial for many educational, personal, profit, and non-profit websites. The reason behind using .com as a suffix in a website name is that it is most common and recognizable.
You can buy a website domain with dot com ".com" suffix from many website hosting companies. The companies that using dot com in their website name they are mostly doing business on the internet.
(true or false) One of the difficult things about working in game design is that while there are many different roles, most of them only match one specific personality type.
True
False
what makes classical music "classical"?
Answer:
Whereas most popular styles are usually written in song form, classical music is noted for its development of highly sophisticated instrumental musical forms, like the concerto, symphony, and sonata. Classical music is also noted for its use of sophisticated vocal/instrumental forms, such as opera.
Answer:
the time period in which it was composed
Explanation:
In a networking context, "architecture" refers to
a. the building that houses the network
b. design
c. the hardware
d. a well-built network
Answer:
A well built netwrk
Explanation:
Given the formula on the left, label the parts. SUM . A2:D19 . E55 . (A2:A19,C13,E55,19) .
Answer:
SUM
✔ function name
.
A2:D19
✔ range
.
E55
✔ value
.
(A2:A19,C13,E55,19)
✔ argument
Answer:
1. B
2. A
3. A
4. C
Explanation:
On edge2020 I got it right
__ allow(s) users with mobility issues to control the computer with their voice.
Speech input software
Tracking devices
Head pointers
Text-to-speech
Answer:
Speech input device
Explanation:
I think this is the answer
Answer: speech input software
Explanation: got it right on edgen
it is where your cpu (processor) is installed
Answer:
OPTICAL DRIVE
Explanation:
It think
A friend a just opened his own barber shop and has asked you to develop a program to track the type of service the customer is receiving and the cost for the service and also include any tips the customer may give to the barber. The name of your friend's barber shop is Big Al's and on each customer receipt he wants to display the name of his shop, customer name, the type of service, cost of the service, and the amount of the tip for a total price of the service rendered. Name your variables Declare your variables
Answer:
class Barber(object):
barber_shop = "Big AI's barber shop"
def __init__(self, customer_name, type_of_service=[], tip=0):
self.cust_name = customer_name
self.tos = type_of_service
self.tip = tip
def service_type(self, *args):
for i in args:
self.tos.append(i)
def total(self):
services = {'trimming':10, 'hair_cut':20, 'shaving':15, 'washing':5, 'dyeing':5}
contain = ''
total = 0
for service in self.tos:
if service in services.keys():
total += services[service]
contain += f'{service}: {services[service]}\n'
print(self.barber_shop,'\n', self.cust_name,'\n', 'Services:',contain.splitlines(),'\n', \
f'total: ${total}', '\n',f'Tip: ${self.tip}')
mycust = Barber('John',['washing'],6 )
mycust.service_type('shaving', 'dyeing')
mycust.total()
Explanation:
The Barber class is a blueprint used to create an object instance of customers that visits the barber-shop. It has two methods 'service_type' and 'total' which are just defined functions of the class that appends services to the type of service variable and total that prints the total cost of services on the screen.
I need help pleaseeeee!!!
Answer:
True
Explanation:
Integrated Services Digital Network (ISDN) is a set of communication standards for simultaneous digital transmission of voice, video, data, and other network services over the traditional circuits of the public switched telephone network.
Pleaseee mark me as brainliest
Hope this help <3
(Java) Write a program that accepts a number of minutes and converts it both to hours and days. For example, 6000 minutes is 100.0 hours or 4.166666666666667 days.
The program is a sequential program, and it does not require any conditional statement or iteration.
The program in Java, where comments are used to explain each line is as follows:
import java.util.*;
public class Main{
public static void main(String[] args) {
//This declares minutes as a double data type
double mins;
//This creates a Scanner object
Scanner input = new Scanner(System.in);
//This gets input for minutes
mins = input.nextDouble();
//This converts the minutes to hour and days, and also print them
System.out.println(mins/60+" hours or "+mins/1440+" days");
}
}
At the end of the program, the equivalent number of hours and number of days are printed.
Read more about similar programs at:
https://brainly.com/question/8598360
[Files, for loops, exceptions; 20pt] Using a for loop, write a function called countWord(). It takes 2 parameters: The name of a text file (e.g. gettysburg.txt that is included with this test) and a word to be searched within that file. Your code should return the number of times the given word appears in the file. Capitalization should not matter. Make certain to handle file exceptions gracefully.
def countWord(name, word):
try:
f = open(name, "r")
lst = ([])
w = ""
for x in f.readlines():
w += x.lower()
lst = w.split()
f.close()
return lst.count(word)
except FileNotFoundError:
print("Please create a file or use the name of an existing text file.")
print("Your word appears", countWord("gettysburg.txt", "random"), "time(s)")
The text file I used for testing looks like:
random words
random words
I'm putting random words in here
random
this is random
RaNdOm
I didn't really know what exceptions your professor is looking for so I just used the file not found one. Best of luck.
Its made up of a small memory chips on a card that can hold data in an electronic format
The chip can allow you to have more data and more pictures so your phone does not become slow and messages and apps and more.
Taylor needs to remove the text to the left of his cursor. Which of the following keys should he press?
Answer:
bacspace not delete
Explanation:
delete erases on the right not left
Backspace he should press to remove the text to the left of his cursor.
What is cursor?
A cursor is an indicator used in computer user interfaces to show the current position for user interaction on a computer monitor or other display device that responds to input from a text input or pointing device. Because of its usage resemblance to a pointing stick, the mouse cursor is also known as a pointer. Cursor is a Latin word that means "runner." The transparent slide engraved with a hairline that is used to mark a point on a slide rule is known as a cursor. By example, the word was later transferred to computers. On November 14, 1963, while attending a computer graphics conference in Reno, Nevada, Douglas Engelbart of the Augmentation Research Center (ARC) expressed his desire to pursue his goal of developing both software and hardware computer technology to "augment" human intelligence by pondering how and where to adapt the underlying principles of the planimeter to inputting X- and Y-coordinate data.
To learn more about cursor
https://brainly.com/question/12406758
#SPJ2
Animal wisdom/ the last wolf .compare and contrast the overall feeling of each poem
Shira’s Shoes sold 875,000 pairs of sandals in June, which was 70% of the total number of shoes sold. How many shoes did the company sell in June? Analyze Emily’s calculations. What error did she make?
Explanation:
Emily solved for a part when she should have solved for the whole. 875,000 should be the numerator of the equivalent ratio. 70 x 12,500 is 875,000. So the answer is 100 x 12,500 which is 1,250,000.
Answer:
Emily solved for a part when she should have solved for the whole. 875,000 should be the numerator of the equivalent ratio. 70 x 12,500 is 875,000. So the answer is 100 x 12,500 which is 1,250,000.
What two states do binary numbers represent?
A) Coder and processor
B) Input and output
C) On and off
D) Right and left
Answer:
C
Explanation:
Binary is a base-2 number system that uses two mutually exclusive states to represent information. A binary number is made up of elements called bits where each bit can be in one of the two possible states. Generally, we represent them with the numerals 1 and 0.
Answer:
C
Explanation:
On and off symbolize 0 and 1.
How do you halt an infinite loop?
by pressing the Control key and the
key
Answer:c
Explanation:ctrl and c stops a infinite loop
The shooting(blank) should describe a daily plan of the shoot and should include everything from the crew to wrap-up.
Answer:
schedule
Explanation:
Indeed, in almost every video production a shooting schedule is used to describe the daily plan of the shoot; such as what scenes to shoot first, and next.
It also gives details about the crew, as well as the timeline for the entire film production, and so on.
Social networking is the most popular online activity?
True
False
Answer:
true
Explanation:
2. The internet offers a great source of information; however, how are
you going to make sure that these pieces of information are reliable?
Answer:
There are many different ways that you can ensure that the information you gather on the internet is reliable and accurate! One way is to not look at Wikipedia and sites where anyone has the access to edit it at any time. Sites that are .com or .org are usually from a direct and safe source. Stay away from media websites and if you believe something isn't right, do further research.
Explanation:
Hopefully this helps.