Answer:
radish spinach swiss chard
Explanation:
Write a program that inputs a text file. The program should print the unique words in the file in alphabetical order. Uppercase words should take precedence over lowercase words. For example, 'Z' comes before 'a'. I am stuck on this python assignment. Don't need the answer asap, just some explaining of how to write code to do that. I know about the built in sort function
Answer:
Read the file and save it to a variable as a string, split the string variable and cast it to a set object using the set function to get the unique words in the file. Then use the max function with the key attribute to use regular expression module "re" to compare the first letter of each item to return in a list comprehension or append to a list.
Explanation:
The open function is used to import a file in python, the split string method splits the string to a list of items and the set function removes any duplicates of a word or item.
Using the for loop statement, iterate over the items and compare and return the items in alphabetical order with the 're' search method getting the item with uppercase letters with higher precedence than lowercase.
Write a program that prints the numbers 1 - 50. If the number is even print the word 'EVEN!' next to it. If the number is odd print the word 'ODD!' next to it.
In python 3.8:
for x in range(1,51):
print(str(x)+" EVEN!" if x %2==0 else str(x)+" ODD!")
This works for me. Best of luck.
What is the function of a web browser, and what are the main components of a web address?
Answer:
The primary function of a web browser is to render HTML, the code used to design or "mark up" webpages. Each time a browser loads a web page, it processes the HTML, which may include text, links, and references to images and other items, such as cascading style sheets and JavaScript functions.
1. Protocol
2. Domain
3. Subdomain
4. Path
5. Query parameters
6. Fragment identifier
The Function of a Web Browser:
1. Requesting Web Pages: The web browser sends requests to web servers to fetch specific web pages or resources (such as images, videos, and stylesheets) associated with those pages.
2. Rendering Web Pages: Once the web browser receives the requested content from the server, it interprets and renders the HTML, CSS, and JavaScript code to display the web page's content and structure.
3. Supporting Multimedia: Web browsers are capable of handling various multimedia elements, such as images, audio, and video, allowing users to experience a rich and interactive web environment.
4. Managing History and Bookmarks: Web browsers keep track of the browsing history, allowing users to revisit previously visited sites. They also provide features to bookmark and save favorite websites for quick access.
Main Components of a Web Address (URL):
A web address, also known as a URL (Uniform Resource Locator), is the unique address used to identify a specific web page or resource on the internet. It consists of several components:
1. Protocol: The protocol is the method used to access the resource.
2. Domain: The domain is the address of the website or server hosting the resource. It is typically the main part of the URL.
3. Subdomain (Optional): Subdomains are prefixes added before the main domain.
4. Path: The path specifies the location of the specific resource on the server. It may include directories and filenames.
5. Query Parameters (Optional): Query parameters are additional data passed to the web server for processing.
6. Fragment Identifier (Optional): The fragment identifier is used to specify a specific section or anchor within a web page.
Learn more about Web here:
https://brainly.com/question/27961981
#SPJ6
One of the functions of an IDE is to check for: flowchart errors. Syntax errors. memory errors X input and output.
Answer:
flowchart errors
Explanation:
Answer:
flowchart errors
Explanation:
What is a resistor?
O A switch
O A light bulb
O A battery
Answer:
A Battery would be the correct awncer
The type of medium used to hide data in steganography is referred to as __________. This may be a photo, video, sound file, or Voice over IP, for example.
Answer:
:L
Explanation:
Answer:
symmetric cryptography
Explanation:
what is wrong with this picture?????
“you got a tight little-“
uhm y’know everything is wrong with it terrifying really is uhm but yeah.
oh god that leg tho
WILL GIVE BRAINLIEST!! If a flowchart has a diamond with the words “yes” and “no” to the sides of it, then it is representing a program that is a sequence.
true
false
Answer:
false
Explanation:
a flowchart with a diamond and with the words “yes” and “no” to the sides of it, then it is representing a program with branches.
it represents branch, like an if , else statement.
It is not in sequence.
Answer:
True
Explanation:
What do you mean by word-wrap?
Answer:
it is also know as line breaking
Explanation:
is breaking a section of text into lines so that it will fit into the available width of a page, window or other display area
Define watcher block
Answer:
Happens when you are watching a series / film / drama / etc. but can not retain the attention span to watch for long periods of time. As well as the shortened viewing time, the ability to retain what has been viewed is impaired.
Explanation:
The Block Watcher puts the power of a microprocessor to work analyzing the current feed to the rails. This detector has been designed to eliminate many of the installation problems associated with the installation of signal systems. ... Then connect the detector output switch to your signal system.
What is the purpose of slicing?
a. To combine characters in order to form a single string
b. To combine two or more strings into one big string
c. To pull out a group of characters from a string
d. To pull out one specific character from a string
Answer:
C
Explanation:
Because a and b are talking about combining and when you slice you don't combine when you slice and when you slice something its into 2 or more parts, unlike what d says
The data type of 17.3 should be ________________.
int
float
str
list
Please answer quick.
Answer:
float
Explanation:
Answer:
17.3 should be a float
Explanation:
Float type is a data that is contain a decimal number
Which is the most recent version of Microsoft Windows?
Windows 10
Windows NT
Windows Service Pack 2
Windows Longhorn
Answer:
Windows 10
Explanation:
Answer:
Windows 10
Explanation:
Windows 10 was released in 2015 while other are old
Jose would like to have text with predefined styles that can flow around an image in a variety of shapes and sizes
Which object should he insert into his document?
WordArt
SmartArt
shapes
images
Answer:
A) WordArt
Explanation:
WordArt can be set to the predefined styles within Word and can be set to flow and wrap around images in word.
Answer:
Word art
Explanation:
What improved image quality in televisions?
A: FM technology
B: AM technology
C: color CRTs
D: black-and-white CRTs
E: coaxial cables
Answer:
coaxial cables are the answer
how do i get around a school related block
Answer:
try putting "uk-" or "us-" depending on where you are, you could also go through your settings and try to allow everything.
Answer:
Some schools have the option to block only on regular tabs, try going into settings and disabling the block to go on incognito tabs.
Another option would be to use a different web browser, something less known but good enough that it works and isnt blocked.
You can also find certain things on online where it tells you what websites to go to, then copy a link and paste it down into the search bar where the page will come up unblocked.
I hope this helped!
PS: If you go into certain websites, block third party cookies. ;)
Which popular file format loses some of the information from the image? JPEG TIFF RAW NEF
Answer:
The popular file format that loses some of the information from the image is JPEG
Explanation:
plzz help me with this question.........
Write a program to input a number find the sum of digits and the number of digits. Display the output also.......
sample input - 7359
sample digits - 24
number of digits - 4
Answer:
please mark as brainliest!!
Explanation:
public class SumOfDigits{ public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Please enter a number to calculate sum of digits"); int number = sc.nextInt(); // Remember number/10 reduces one digit from number // and number%10 gives you last digit int sum = 0; int input = number; while (input != 0) { int lastdigit = input % 10; sum += lastdigit; input /= 10; } System.out.printf("Sum of digits of number %d is %d", number, sum); // closing Scanner to prevent resource leak sc.close(); } }
How does entertainment relate to coding?
Answer:
not sure if this is the type of answer you're looking for but: Entertainment can relate to coding because in TV shows and movies, there is lots of editing. Especially with cartoons. Inorder to make these, we have to use coding. This can even relate to real life plays and preformenses depending on how much technology you use to preform them.
Hyperlinks can only point to webpages.
True or False
Answer:
I believe thats false
Can someone tell me how to fix the keyboard on ipad?- its in the middle of my screen andd i dont know how to do it
Answer:
Here
Explanation:
To move keyboard to bottom of screen, you just need to tap and hold the keyboard icon at the bottom-right corner of the keyboard, choose Dock option. To fix iPad keyboard in middle of screen, please tap and hold the keyboard icon, then choose Dock.Nov 5, 2020
What is the highest numeral in a binary code?
Answer:
The highest numeral in binary code is 1
In binary, you can only have 1s and 0s
if you're asking for the biggest number that can be represented, it's 255, which is 11111111. (this is 8 1s)
Explanation:
Is this a trick question? lol
May I have brainliest please? :)
What routing protocol is the most popular distance-vector routing algorithm used to determine the best routes within a network
Answer:
RIP
Explanation:
RIP is a routing protocol that stands for Routing Information Protocol. It is a distance-vector routing algorithm which uses a hop count for routing its metric. RIP is the most popular and frequently used on internet. RIP uses hop count, which means it goes from low hop count to high hop count.
Therefore, it is the Routing Infomation Protocol which is the most popular distance-vector routing algorithm used to determine the best routes within a network.
What are the most common forms of information?
Answer: web search
Explanation:
how do you take a picture on an apple computers
Answer:
You go to the launcher, then find Photo Booth. Photo Booth allows you to take photos. You can only take photos on the side where the screen is, since there isn't a camera on the back. I recommend taking a picture with a phone instead. For a screenshot, press command-shift-3.
Hope this helps!
Which of the following is an object-oriented language?
A. C
B. C++
C. BASIC
D. COBOL
Answer:
C++
Explanation:
Significant object-oriented languages include: (list order based on TIOBE index) Java, C++, C#, Python, R, PHP, Visual Basic.NET, JavaScript, Ruby, Perl, Object Pascal, Objective-C, Dart, Swift, Scala, Kotlin, Common Lisp, MATLAB, and Smalltalk.
The programs' structure is made obvious via OOP. OOP makes the C++ code easier to maintain, alter, and debug by encouraging “Don't Repeat Yourself” (DRY) programming practices. OOP allows for quicker development times and less code needed to create fully reusable apps. Thus, option B is correct.
What role of C++ as an object-oriented language?The following are several justifications for calling C++ a partial or semi-object oriented language. The primary action is not a class action.
Object-oriented programming is supported by C++, but it is not a feature of the language itself. You don't even need to use an object once to construct a legitimate, well-coded, and brilliantly styled C++ program.
Therefore, Object-oriented programming can be implemented using C++'s core features. It contains classes and objects as well as the OOP principles of inheritance, encapsulation, abstraction, and polymorphism. It also has access to specifiers.
Learn more about language here:
https://brainly.com/question/29751978
#SPJ2
Do saving and loans associations have different categories?
Answer:
No
Explanation:
Because Savings and loan associations (S&Ls) are one of four types of "banks", there only one of four, not two of four
Complete the following sentence.
The definition of the ________ was changed in order to be based on something more stable.
Answer:
The person above is so wrong!
Explanation:
The definition of the resilience was changed in order to be based on something more stable.
What resilience really implies?Resilience is known to be the way or ability of a person to bee able to stand against any form of adversity and still be able to bounce up from any difficult life issue.
Conclusively, Note that the act of being resilient means is too strong but resilience was changed in order to be based on something more stable.
Learn more about stable from
https://brainly.com/question/1348241
Name the stringed instrument that's known for its haunting sound, wide pitch capability, and large numbers in the orchestra.
A. Harp
B. Violin
C. Viola
D. Clarinet
The subject is Music Technology.
Answer:
VIOLIN
Explanation:
The VIOLIN is the stringed instrument that's known for its haunting sound, wide pitch capability, and large numbers in the orchestra.
what is multimedia computer system
A Multimedia can be defined as any application that combines text with graphics, animation, audio, video, and/or virtual reality. Multimedia systems are used for security to keep intruders out of a system and for the protection of stored documents