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
harkovskaia [24]
3 years ago
8

Could someone please help me with this?

Computers and Technology
1 answer:
Alexxandr [17]3 years ago
7 0

Answer:

See explanation

Explanation:

Given

if(fish > 400) {

Required

What is the condition checking?

The above statement is an if conditional statement. Analysing the statement in bits:

if -> This represents the beginning of the conditional statement

fish -.> The variable that is being checked

> 400 -> The condition which the variable is being measured by.

So, the statement above is checking if the value of variable fish is greater than 400.

<em>If the condition is true, the instructions associated to that if statement will be executed.</em>

You might be interested in
Why would you use a database system instead of traditional file system
iris [78.8K]

Answer:

Traditional database system is the system that contains all the data in the computer files on a computer system. The organization of the data is done in the form of files sets. In this system, large amount of data is not properly accessible due to inefficiency and also consumes lot of time.

Instead of the traditional system,database system is used, which has the collection of the data that gets stored in the database management system(DBMS).They can be managed by the operating system.

They have qualities like consuming large amount of data, any type of information, independent to work ,less time-taking development of application for etc. which is not present in traditional system.Thus database system are chosen over the traditional system.

4 0
3 years ago
one_diff(a?): Description: Determine if there is exactly one character different between exactly two strings. Parameters: Determ
Vladimir79 [104]

Answer:

See explaination

Explanation:

def one_diff(s1,s2):#mthod return true if s1 and s2 has one difference

l1=list(s1)#store characters to list

l2=list(s2)

c=0

if len(l1)!=len(l2):

return False

for i in l1:

if i in l2:#for each character if it is in l1 and l2 continue

continue

else:

c+=1

if c==1:

return True#ret True if cis 1 else False

return False

def exchange(s,*k):#method that exchanges characters

l=list(k)

if len(l)!=0:#check validity of arguments

for i in l:

if i<0 and i+(2*i)>len(s):

res=s

elif i>len(s):

res=s

return res

if len(l)==0:#if no indexes are given

c1=s[0]

c2=s[-1]

res=c2

res=res+s[1:]

res=res[0]+res[1:].replace(c2,c1)

return (res)

elif len(l)==1:#if one index is given

c1=s[l[0]]

c2=s[-1]

res=''

for i in s:

if i==c1 or i==c2:

if i==c2:

res+=c1

else:

res+=c2

else:

res+=i

return (res)

else:#if two indexes are given

c1=s[l[0]]

c2=s[l[1]]

res=''

for i in s:

if i==c1 or i==c2:

if i==c2:

res+=c1

else:

res+=c2

else:

res+=i

return (res)

def is_chain(*k):#method that checks words for one difference

l=list(k)

if len(l)==0:

return False

if len(l)==1:

return True

if len(l)>1:

for i in range(len(l)-1):#for two words in l

if one_diff(l[i],l[i+1]):#call one_diff method

continue

else:

return False

return True

def scramble(s):#method that exchanges characters

i=0

while i<len(s)-1:

s=exchange(s,i,i+1)

i+=2

print(s)

please check out the screenshots in attachment.

3 0
3 years ago
The word biodegradable on a label doesn't necessarily mean a product is environmentally safe?
Flura [38]

Answer:

Biodegradable means it SHOULD be safe for the environment. Meaning it can break down into natural elements. However, this is uncertain as some materials don't break down as easily, with a possibility of not having much of a difference as non-biodegradable materials. It all depends on the product, but if we're going by the label, then by definition it's environmentally safe.

7 0
3 years ago
write a program in pseudo code to solve the following: covert a temperature input in degrees Celsius to degrees Fahrenheit and d
Tomtit [17]

Answer:

Program Start:

Declare Variables: Celsius and Fahrenheit as float

Input Celsius

Fahrenheit = (Celsius * 9/5) + 32

Print Celsius

Print Fahrenheit

End Program

Explanation:

Pseudo codes are false codes and are used to mimic actual programs.

So, the interpretation of the above code is as follows:

This line indicates the start of the program

Program Start:

The variables are declared, here

Declare Variables: Celsius and Fahrenheit as float

This line gets input for degree Celsius

Input Celsius

This line converts degree Celsius to Fahrenheit

Fahrenheit = (Celsius * 9/5) + 32

The next two lines print the degree Celsius and the equivalent degree Fahrenheit

Print Celsius

Print Fahrenheit

This indicates end of program

End Program

5 0
3 years ago
Which wireless communication technology is most likely used when synchronizing device information to an automobile?
seropon [69]
Bluetooth is the most reasonable answer
8 0
4 years ago
Other questions:
  • Which of the following are stages in the computer life cycle? Check all of the boxes that apply.
    13·2 answers
  • The command prompt found on windows 10 is very similar to the interface of what past operating system?
    5·2 answers
  • __________ is a website that offers a variety of Internet services from a single, convenient location.
    13·1 answer
  • FOR 15 POINTS AND BRAINLIEST!<br> What are the possible consequences of Invasion of privacy?
    8·1 answer
  • anyone here done intro to tech course on edgenuity yet? I failed the first unit test twice and it's prob gonna be a third if i r
    14·2 answers
  • Correct single error in this. Try to appear relaxed, but not to relaxed​
    13·1 answer
  • Last one, this is fashion marketing and I need to know the answer to get the 80%
    6·1 answer
  • Parts of a computer software
    12·1 answer
  • list three things that can spoil a printer if they are not of the correct specification and what damage may be caused​
    9·1 answer
  • Ann, a user, reports that her pc is running slower than usual. which tool would best allow you to identify the bottleneck?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!