Please write a Python program which accepts a sentence (input via keyboard), and convert uppercase letters to lowercase, and convert lowercase letters to uppercase, keep all other characters no change. For example: You input from keyboard: input: "Welcome 2022 ! " output: "wELCOME 2022 ! "
Q: how are self driving cars related to the information technology/information systems field? Please ty...
A: A self-driving car which is sometimes also known as an autonomous car or driverless car is a vehicl...
Q: Implement the function prototype for binary search below, where a[] is the array to be searched thro...
A: Lets analyse the binary search method for its complexity : -binary search takes, a sorted list A wit...
Q: There are two basic approaches to the design of OS kernel. One is called microkernel approach, and t...
A: 1) monolithic kernel 2) xv6 allocates one kernel stack for each process. The kernel stack is separat...
Q: What is the purpose of using a group clause?
A: What is the purpose of using a group clause?
Q: 1. An NFA accepts a string w only if all possible computation branches end up in accepting states on...
A: Ans:- True
Q: Draw a schematic logic diagram for a binary adder that could properly sum numbers as large as the bi...
A:
Q: Big-O Coding Exercise Show your solution and explanations. Show that a function y = n^4 + 3 can not ...
A: We need to prove that y=n^4+3 is not O(1).
Q: Methodology about the practices and deliverables of matrices codes in python fundamentals
A: In Python different matrix manipulations and operations. Numpy Module provides different methods for...
Q: FTP is considered be a secure method of transferring files between computer. true or false
A: answer is
Q: The advancement of database technology should be segmented.
A: Segmentation occurs in your CRM, where your contacts are stored. In order to segment your database, ...
Q: What are the dashboards available in sage accounting
A: Answer: Accountant's Dashboard: If you are an accountant, another dashboard will be available for se...
Q: Discuss the basic concepts behind computer networks and the benefits of computer networking
A: Computer Network: It is a process of connecting more than two computers which purpose to share data,...
Q: ology is b. How it would impact human lives and values c. Ethical issues that may arise in the app...
A: As per guidelines, we can only solve the first three-part of a multipart question. Hence resubmit th...
Q: # Computer Vision # Geometry Quiz
A: We add f parameter to the intrinsic matrix such that after multiplication point [x,y,z] is equal to ...
Q: 1- Which SQA class and components this statement is applicable? A series of meetings to initiate and...
A: Software quality assurance (SQA) is a process which assures that all software engineering processes,...
Q: Create a function named mat_desc() that througouhly describes a matrix, it should: 1. Displays the s...
A: There is a shape function to determine the shape of a matrix. There is a size function to determine...
Q: Which of the following certificates CAN’T be used during deployment of SSTP VPN server? (choose two)...
A: SSTP VPN server is also known as Secure Socket Tunnelling Protocol (SSTP) VPN protocol. The main adv...
Q: Dont use answers from other websites please! Please type your answer not picture 2. List all of th...
A: use the typed data below.
Q: a) All babies are illogical. (b) Nobody is despised who can manage a crocodile. (c) Illogical p...
A: Given (a) All babies are illogical. (b) Nobody is despised who can manage a crocodile. (c) Illogi...
Q: ethodology essay about matrices code in pytho
A: Lets see the solution.
Q: Code fragment 1: int i=0; int scores[]={0,0,0}; 1 while(i<3) 2 { printf("Scores: "); scanf("%d", &sc...
A: Ans : The true statements are : 1) Array declaration and Initialization 2) Relational Operator 3) Va...
Q: QUESTION 18 It is possible that a security failure has no potential impact on the organization or in...
A: The answer is
Q: Network Type and its b) Topology in the given picture?
A:
Q: expected?
A: given - Do algorithms always perform as expected?
Q: ef calculate_e (n): *** Here use the variable e to denote and return the value of e. I have initiate...
A: answer for question 4 is given below
Q: Where did Charles Babbage come up with the idea for the computer?
A: After years of experimentation, Charles Babbage came up with the first computer-like device we know ...
Q: The unique addresses assigned to the four registers (R11,R12,13,R14) of the I/O interface are equal ...
A: When we connect the two capacitors,then assume the final voltage be V. The capacity of capacitor is ...
Q: hat is a floating point representation
A: Lets see the solution.
Q: 3. Nested squares: write a Matlab script which draws a sequence of squares using a random color for ...
A: According to the information given:- We have to follow the instruction to construct the nested squa...
Q: When did the first video camera appear on the scene?
A: The Evolution of Video Cameras: Video cameras have evolved significantly over the years. Although vi...
Q: Show how to minimize the following logic function using switching algebra. F= AB + ABCD' + ABDE' +A'...
A: Given:F = AB + ABCD' + ABDE' +A'B'CE + ABC'E' + ABC'E'Boolean logic entities used to minimize F:Iden...
Q: Question 1. Discuss a new technology in the engineering or computer science field, explaining: d. H...
A: The ethics in a code determine the proper usage of the code in a helpful and impactful way.
Q: What was the name of the United States' first commercial computer?
A: Introduction: Computers Charles Babbage, an English mathematician, invented the first digital comput...
Q: Question 1. Given the flowchart below, a) Cross-out the erronous arrow and draw the correct arrow. b...
A: Here remove the erronous arrow , and design right flow chart: =====================================...
Q: nceton.cs.algs4.LinearProbingHashST; import edu.princeton.cs.algs4.SeparateChainingHashST; import ed...
A: The complete code for all the files, plus an additional test file test.cpp containing the main funct...
Q: Set are ordered but not indexed True or false.
A: Correct option: True
Q: Given and nxn matrix filled with either 0 or 1 your task is to turn as few 0 as possible into 1 such...
A: This question involves a lot of sub part calculations. We would give an implementation to get the s...
Q: Write an 80x86 Intel assembly language program: Declare two integer arrays and initialize the firs o...
A: Declare Array A and B with given elementCreate Array C with ? reserved byteinside main procedure loa...
Q: 1. Compare and contrast Arrays and ArrayLists 2. Compare and contrast Singly-linked list and Doubly...
A: Compare and contrast Arrays and ArrayLists The ArrayList and array are fundamentally different o...
Q: What kinds of exceptions are captured during compilation?
A: Introduction: The two kinds of exceptions are Checked and Unchecked Exceptions in Java.The exception...
Q: Investigate the challenges that information systems face via the use of technology and information r...
A: Introduction: This question discusses the difficulties that information systems face due to their re...
Q: Is it required to reorganise databases?
A: Intro The question is about reorganize data base and here is the solution in the next step.
Q: What kinds of artificial intelligence are there? Define artificial intelligence domains and provide ...
A: Introduction: The computer simulation of human intelligence processes is known as artificial intelli...
Q: In Python, #Create a basket class, which has a class/static attribute pricelist (string/float dicti...
A: Hello student, hope you are doing good. In this question, we need to write a python code using class...
Q: Given integer values for red, green, and blue, subtract the gray from each value. Computers represe...
A: C++ code to remove the gray extract from given color red, green, blue #include <iostream>usin...
Q: Create a complete Java program that shall allow the user to accept three integer values representing...
A: Introduction: Create a complete Java program that shall allow the user to accept three integer value...
Q: What is the name of the problem-solving strategy that is followed step by step?
A: The name of the problem-solving strategy that is followed step by step is: Algorithm
Q: Let A be an array of n numbers. Design an O(n)-time algorithm to rearrange elements of A in a way th...
A: Linear Time (O(n)): In this, when the running time increases linearly with the length of the input a...
Q: Question 2 You are running a program that performs a data summation operation with a supercomputer w...
A:
Q: When did Philip Emeagwali create the fastest computer on the planet?
A: Dr. Philip Emeagwali was born in Nigeria in 1954 and has been named the "Bill Gates of Africa." He d...
Please write a Python
You input from keyboard:
input: "Welcome 2022 ! "
output: "wELCOME 2022 ! "
Step by step
Solved in 4 steps with 2 images
- Forms often allow a user to enter an integer. Write a program that takes in a string representing an integer as input, and outputs yes if every character is a digit 0-9. Ex: If the input is: 1995 the output is: yes Ex: If the input is: 42,000 or any string with a non-integer character, the output is: no user_string = input() Python pleasePython Write a program that receives a number from a user and checks if it's float or integer.In case of being float, print for the user that his/her number is float with integer part andfractional part. In case of being integer, print to the user that his/her number is aninteger and odd/even numbeRSingular to Plural. Create a program in Python that accepts a word in singular, and produces the corresponding plural. Use the following rules: a. If the word end in ‑s, -ss, -sh, -ch, -x, or –z, then add –es to the word. For example, the plural of tax is taxes b. If the word ends in -fe, then replace the ending with –ves. For example, the plural of wolf is wolves c. If the word ends in y and the previous letter is a vowel, then add –s to the word. For example, the plural of boy is boys d. If the word ends in y and the previous letter is a consonant, then change the –y ending with –ies. For example, the plural of city is cities e. If the word does not meet the criteria above, then add –s to it.
- Write a program that reads from the user a character (*q' or 'c'). If the character is 'c', the program reads from the user the radius r of a circle and prints its area. If the user enters 'q', the program asks the user to enter the length and width of a quadrilateral. We assume the quadrilateral is either a square or rectangle. You should print if the quadrilateral is square or rectangle. Otherwise, it prints "Wrong character" PS: Use the following formulas : area of circle=3.14*r? INeed this written in the PYTHON language. Step 1: Ask the user to enter the length of their room (in feet). Step 2: Ask the user to enter the width of their room (in feet). Step 3: Calculate the area (in square feet) of the room by multiplying the length and the width of the room. For example, if a room is 20 feet wide by 24 feet long, then its area is 20 * 24 = 480 square feet Step 4: Display a menu that asks the user how much shade the room gets. The menu should have the following options: Little Shade Moderate Shade Abundant Shade Step 5: Determine the capacity of the air conditioning unit that is needed for a moderately shaded room by using the information in the table below. Room Size (sq. ft) AC capacity (BTUs/hr) Less than 250 5,500 250 to 500 10,000 501 to 1,000 17,500 Over 1,000 24,000 If the room has little shade, then the BTU capacity should be increased by 15% since the air conditioning unit must be able to produce extra…Create a program which transforms the number of days to years, weeks and days. For example: 375 days = 1 year 1 week 3 days. Use the remainder of the bigger unit. ( in C language)
- In Python A soup company is interested in finding out how much of their soup will go into various sized cans. The user will input the diameter of the can end, and the height of the can. The volume of a cylinder is the well known formula: volume = area of the ends * height of cylinder. The twist is that a can of soup can not be completely filled to the top; only 95% of the volume can be filled with soup; the remaining 5% must remain empty to allow for expansion. NOTE: when computing the area, use pi to at least 5 significant digits (eg, 3.14159) or use the constant math.pi. You should define a function named soup_volume which takes two parameters, the diameter of the can in cm, and the height of the can in cm, in that order. The function should return a float value, which is the volume of soup that the can is able to hold. The function should not round the value, but when printing the value in the main program, format it to show only 2 decimal places. Example run of the program: Enter…For grading system (0 to 100) for the course MATH, SCIENCE and ENGLISH create a program that will calculate the AVERAGE GRADE and, assigned grades (A, B, C) based on the percentage obtained by a student.if the percentage is above 90, assign grade A if the percentage is above 75, assign grade B if the percentage is above 65, assign grade C. Write a JAVA or PYTHON programm * МАТH 80 SCIENCE 75 ENGLISH 90 FINAL GRADE 81.67 EQUIV. GRADE В 介仓Please write a program which prints out the following story. The user gives a name and a year, which should be inserted into the printout. Please type in a name: Mary Please type in a year: 1572 Mary is a valiant knight, born in the year 1572. One morning Mary woke up to an awful racket: a dragon was approaching the village. Only Mary could save the village's residents. The story should change according to the input given by the user. Sample output 1
- Code in Python Write a program to find the 6-th Monisen number. Classic Programming Question: find the n-th Monisen number. A number M is a Monisen number if M=2**P-1 and both M and P are prime numbers. For example, if P=5, M=2**P-1=31, 5 and 31 are both prime numbers, so 31 is a Monisen number. Put the 6-th Monisen number into a single text file and submit onlinePython Write a program that asks the user for two integers that will correspond to the numbering of the first and last lines, then a third integer that will correspond to the number of z before "zigzag" (not counting the first "z" of zigzag), then finally that displays a zig-zag following the following pattern: Exemple 1: Start Number: * user type 3 * End number: * user type 10 * Number of z: * user type 5 * zzzzzzigzag 3 4 zzzzzzigzag zzzzzzigzag 5 6 zzzzzzigzag zzzzzzigzag 7 8 zzzzzzigzag zzzzzzigzag 9 10 zzzzzzigzag (Even integers must be left-zigzag and odd integers must be right.) Example 2: Start number:* user type -2 * End Number:* user type 4 * Number of z: * user type 3 * -2 zzzzigzag zzzzigzag -1 0 zzzzigzag zzzzigzag 1 2 zzzzigzag zzzzigzag 3 4 zzzzigzag Example 3: Start Number:* user type 5 * End number:* user type 0 * Number of z: * user type 10 * (Nothing is displayed because 5>0)Using python language, make a unit conversion program that computes and shows the three types of conversion (Ex. 12 inches = (1) foot/feet, (30.48) centimeters, (304.8) millimeters). You can only use the aforementioned measurements (length, weight, speed, or time).The unit conversion program allows the user to input a chosen conversion and repeats the program until the word "stop" is typed. A message is shown after converting the value.