1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
telo118 [61]
4 years ago
15

Given a variable s associated with a str, write an expression whose value is a str that is identical except that all the letters

in it are upper-case. Thus, if the str associated with s were "McGraw15", the value of the expression would be "MCGRAW15".
Computers and Technology
1 answer:
liberstina [14]4 years ago
3 0

Answer:

following are expression to this question:

s.upper()

Explanation:

Example to use upper method:

s= "McGraw15" #defining string variable that holds a value

print (s) #print value

print ('changing into upper case: ')  #print message

print (s.upper()) # call upper method and print its value

Output:

McGraw15

changing into upper case:  

MCGRAW15

Description of upper method:

  • In the given question it is defined, that "s" is a string variable, that holds a string value, and variable "s" uses a method to convert all the string value into upper-case.
  • To convert all value into the upper case the "upper()" method is used, It is a built-in method, that converts all the value in the upper-case.

You might be interested in
If you have a list of words that you wish to make into a bulleted list, you must first highlight or ________ the words with your
motikmotik
<h3>Answer:</h3>

C. select

<h3>Explanation:</h3>

A. if you delete the words you can make them into a bulleted list

B. if you remove them you can make them into a bulleted list neither

D. Copying the words doesn't need for that

Hope it helped you

3 0
4 years ago
Classify the characteristics as abstract classes or interfaces.
Sergeu [11.5K]
E for eeeedeerreeeee
4 0
3 years ago
Write a program in C++ to swap two variables usingfunctions?
lilavasa [31]

Answer:

#include <iostream>

using namespace std;

void swap(int& m, int& n)  /* passing by reference so that changes will be made in the original values.*/

{

   int t=m;

   m=n;

   n=t;

}

int main()

{

   int val1,val2;

   cout<<"Enter the values"<<endl;

   cin>>val1>>val2;

   cout<<"Values before swap "<<val1<<" "<<val2<<endl;

   swap(val1,val2); //calling the function swap..

   cout<<"Values after swap "<<val1<<" "<<val2<<endl;

return 0;

}

Explanation:

Created a function swap with 2 arguments m and n passed by reference.

8 0
4 years ago
Some example questions include: ""How does multithreading affect the throughput of a GetFile Server hosting many very large file
zhenek [66]

<em>How does multithreading affect the throughput of a GetFile Server hosting many very large files?</em>

Answer:

It create multiple threads of large file which eventually causes in slowing down the speed of server which results in slower response time.

<em>How does multithreading affect the average response time for a GetFile server hosting a few small files?</em>

Answer:

Multiple threads in smaller files result in rapid response time and enormous process speed in small files.

6 0
3 years ago
Which of the following is NOT true about the ways that various professions use computers? Police use them to track criminals. Pi
ira [324]
Pilots use them to learn at first, but rarely afterwards<span> is NOT true about the ways that various professions use computers</span>
8 0
3 years ago
Other questions:
  • 13. What is the suggested rpm on a hard drive for a laptop?
    12·1 answer
  • What is the simplest way to permanently get rid of an unwanted file? A. Go to the Start menu and then delete the file. B. Erase
    5·1 answer
  • A dictionary password attack is a type of attack in which one person, program, or computer disguises itself as another person, p
    5·1 answer
  • which of the following is the term used for a set of programs that acts as an interface between the applications that are runnin
    7·1 answer
  • Question # 1
    5·1 answer
  • When you expand the virtual size of a game, what do you create?
    7·1 answer
  • PLEASE HELP
    12·1 answer
  • John is writing a code instructing the character to move forward 10 steps, choose a number between 1 to 10, and if the number is
    5·1 answer
  • Help me with this two questions please
    15·1 answer
  • Collection activities acquire and extract data from the operational environment such that Processing and Exploitation can conver
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!