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
meriva
3 years ago
8

Help me please and thanks

Computers and Technology
1 answer:
Yuri [45]3 years ago
6 0

Answer:

b

Explanation:

You might be interested in
Write a program that reads whitespace delimited strings (words) and an integer (freq). Then, the program outputs the strings fro
Lesechka [4]

Answer:

See explaination for the code

Explanation:

def wordsOfFrequency(words, freq):

d = {}

res = []

for i in range(len(words)):

if(words[i].lower() in d):

d[words[i].lower()] = d[words[i].lower()] + 1

else:

d[words[i].lower()] = 1

for word in words:

if d[word.lower()]==freq:

res.append(word)

return res

Note:

First a dictionary is created to keep the count of the lowercase form of each word.

Then, using another for loop, each word count is matched with the freq, if it matches, the word is appended to the result list res.

Finally the res list is appended.

3 0
3 years ago
The laws governing search and seizure in the public sector are much more straightforward than those in the private sector. TRUE
Lapatulllka [165]

Answer:

True

Explanation:

Because of the contract that you have agreed to when joining the work force. Which is different from the private sector.

7 0
3 years ago
Which of the following items is an example of a common device for digital distribution?
docker41 [41]

Answer:

cell phone and television

Explanation:

they have computers inside of them so they are digital

4 0
2 years ago
What is the basics of C++
arlik [135]
Here are the basics of C++...

Number 1. Printing text onto the screen:
std::cout << "Your text here\n"; 
The \n creates a new line.

Number 2. Initializing variables and setting variables
There are a few different types of variables in C++...
Integers, floats, chars, and strings.
To let C++ know what type of variable you are about to create, you put the type before the variable name.

Here are some examples:
int number = 10;
float r = 2.45;
char[4] = "Code";
string name = "Bob";

Number 3. Comments

In programming comments are very useful. They help other programmers understand your code.

To make a single line comment in C++ you do this:

// your comment

To make a multi-line comment in C++ you do this:

/*
My multi-line comment here
*/

Number 4. Math

In C++ you have math operators. These operators are + - * / %
I'm pretty sure you are familiar with the first four operators. But you may not know the last one. Don't worry... I'll explain that one to you.

Addition:

std::cout << 35 + 23 // this will print out 58

Subtraction:

std::cout << 102 - 56; // this will come out as 46

Multiplication:

std::cout << 34 * 9; // product will be 306

Division:

std::cout << 164 / 4; // quotient will be 41

Modulus:

Now we get to the operator you may or may not know. The modulus.
The modulus operator gets the remainder of division of a by b.

std::cout << 10 % 4; // it will print out 2

You can even store math operations in variables...

int answer = 40 + 38;
std::cout << answer; // this will print out 78

You can even add variables...

int x = 28;
int y = 58;
int answer = 86;
std::cout << answer;
std::cout << x + y;

Number 5. Comparison Operators.

Comparison operators compare two values to see if its true or false...
These are mainly used in if statements...

Here are the comparison operators:

== Equal
!= Not equal
> Greater than
< Less than
<= Less or equal
>= Greater or equal

Number 6. If Statements

This is the structure of an if statement:

if(...){
// execute code if true
} else if(...){
// execute this block of code if first if statement was false
}else {
// execute this block of code if false
}

if(2 > 1) {
std::cout << "2 is greater than 1";
}

The code above will indeed execute. Because two is greater than 1.

Number 7. Functions

If you have a block of code that will be repeated multiple times through out your program, functions will be handy.

To make a function you must specify the type of the function. This called the return type.
Which are int (integers), floats (decimals), and string (strings).
There are more, but I decided to focus on those three.

Then you give your function a name. 

int my_function(){
// your code
}

To call a function, you simply type the name of the function with parentheses.

my_function();

To make a function with parameters, do same thing above, except in the parentheses you give your parameters.

int my_function(int x, int y){
// your code
}

As you can see, you separate the parameters with a comma.

in my_function(int x, int y){
int z = x + y;
std::cout << z; // this will print out the sum of x and y
}

To call your function with parameters, type your function name with parentheses and in the parentheses type your values.

my_function(3, 4); // this will print out 7

Also, another type of function is the void type. In int type functions, at the end of your code in the function, you should type return 0.
This allows C++ know that code wen't without any errors...

In void type function this isn't really necessary...

If you have anymore questions or you found something to be confusing or you want to learn more C++, please write me a message.



3 0
3 years ago
While cloud services are useful for small and midsize analytic applications, they are still limited in their ability to handle B
sp2606 [1]

Answer:

False

Explanation:

There are cloud applications which can effectively handle big data.

For example processing and handling big data technologies like Hadoop, Spark can be used on cloud.

Services like <em>Amazon Web Services</em> or <em>Google Cloud Services</em> allows users analyze big data with various tools.

5 0
3 years ago
Other questions:
  • Katie created a web site that automatically scales to fit a cell phone. What kind of design did Katie use?
    12·2 answers
  • All of the following are examples of a web application except for ______.
    12·2 answers
  • I need help with this​
    7·1 answer
  • Video Fundamentals
    6·1 answer
  • Which of the following statements is true regarding the e-mails that were collected from Marina and Rita's Cupcakes' key employe
    11·1 answer
  • Symbic Foods, a chain of fast food restaurants, has included a drop-down menu on its main Web site. With this drop-down menu, pe
    13·1 answer
  • An online journal or diary you create to share your thoughts, opinions and personal news is referred to
    13·1 answer
  • modified true or false analyze each statement then write technical the statement is true the statement is false underline the wo
    6·1 answer
  • Teenagers and their parents will never understand each other-the generation gap is too big. Its for my grade 11 English speech​
    10·2 answers
  • Upload your completed project including the following:
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!