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
Nikitich [7]
3 years ago
10

true false the if statement causes one or more statements to execute only when a boolean expression is true

Computers and Technology
1 answer:
poizon [28]3 years ago
8 0

Answer:

True

Explanation:

I am a coder myself and I say this is true because it executes it if the listed statement or variable is true. This is also the same for the while loop.

You might be interested in
How can goal setting help with academic performance?
rosijanka [135]
Im pretty sure the answer is b.
8 0
3 years ago
What does usb stand for
e-lub [12.9K]
Universal Serial Bus
8 0
3 years ago
Read 2 more answers
Design and implement an algorithm that gets as input a list of k integer values N1, N2,..., Nk as well as a special value SUM. Y
satela [25.4K]

Answer:

Follows are the code to this question:

def FindPair(Values,SUM):#defining a method FindPair  

   found=False;#defining a boolean variable found

   for i in Values:#defining loop for check Value  

       for j in Values:#defining loop for check Value

           if (i+j ==SUM):#defining if block that check i+j=sum

               found=True;#assign value True in boolean variable

               x=i;#defining a variable x that holds i value

               y=j;#defining a variable x that holds j value

               break;#use break keyword

       if(found==True):#defining if block that checks found equal to True

           print("(",x,",",y,")");#print value

       else:#defining else block

           print("Sorry there is no such pair of values.");#print message

Values=[3,8,13,2,17,18,10];#defining a list and assign Values

SUM=20;#defining SUM variable

FindPair(Values,SUM);#calling a method FindPair

Output:

please find the attachment:

Explanation:

In the above python code a method, "FindPair" is defined, which accepts a "list and SUM" variable in its parameter, inside the method "found" a boolean variable is defined, that holds a value "false".

  • Inside the method, two for loop is defined, that holds list element value, and in if block, it checks its added value is equal to the SUM. If the condition is true, it changes the boolean variable value and defines the "x,y" variable, that holds its value.
  • In the next if the block, it checks the boolean variable value, if the condition is true, it will print the "x,y" value, otherwise, it will print a message.  

6 0
3 years ago
Which statement below is incorrect when discussing communication in the online community?
Marysya12 [62]
It's everyone's responsibility to report cyberbullying.

The tone is important whenever you are talking to someone else.

You can literally say anything in virtual world, but you should behave yourself

If everybody knows the common text phrases, then it's fine, but it will be better to talk formally.
8 0
3 years ago
Signs of mastery include?
katrin2010 [14]
1. You know it. Self-explanatory.
2. You know you know it. This means you didn’t guess or get lucky, or answer with a question mark in your voice.
3. You know it quickly, independently and efficiently.
- Quickly means you have this skill ready, with no playing around in order to figure it out. While it is an invaluable skill to be able to figure out a math problem, what we’re going for with our basic skill list is FLUENCY, meaning you’re past the figuring it out phase and your ability is more automatic. A very simple example of this would be: for the basic subtraction problem 11-9, figuring it out would mean counting up from 9 to 11 (either on your fingers or in your head) to get 2. Automaticity, on the other hand, would mean looking at 11-9 and knowing the answer is 2, as if it were a sight word. The processing speed is so fast that there may as well be no processing involved. It’s that automatic. At every new level of math, there is a whole new layer of skills that we want at this ‘automatic’ level, freeing the brain up to do it’s ‘figuring out’ with the next level.
- Independently means with ZERO help, no reminders & no hints.
- Efficiently. An example of doing a skill the most efficient way is simplifying fractions before multiplying them, rather than multiplying first, then simplifying.
4. You know it cold. Three months can go by without you actively practicing it, and you STILL know it. This is perhaps the most important criteria, and often the most overlooked.
4 0
3 years ago
Other questions:
  • TRUE/FALSE: In order to use an object in a program, its class must be defined.
    10·1 answer
  • Which of the following is NOT true of input validation?
    7·1 answer
  • 0.005098 megaliters to liters. record your answer in whole liters
    7·1 answer
  • Four categories of installer apps
    13·1 answer
  • Haya would like to complemely delete Slide 11 from her presentation so that slides 12–16 become slides 11-15. What is
    9·1 answer
  • THis took FOREVER! please go check it out, if you have seen my demo to this game, you will like the full version! https://scratc
    9·2 answers
  • What do you think is the most important part of the history of internet what event has had the biggest impact on your daily life
    7·2 answers
  • A(n) __________ structure is a structure that causes a statement or a set of statements to execute repeatedly.
    13·1 answer
  • 1. [6 points] Convert the 5-bit two's complement number 11001 (base-2) to base-10. Show work. Hint: this is the reverse of what
    8·1 answer
  • Passing an argument by ___ means that only a copy of the arguments value is passed into the parameter variable and not the addrt
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!