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
olganol [36]
3 years ago
9

Write a function min that has three c string parameters and returns the smallest.

Computers and Technology
1 answer:
iogann1982 [59]3 years ago
5 0
You did not mention what programming language you are using. If you are using C# this code will do:

public static string min(string s1, string s2, string s3)
{
* * return new [] { s1, s2, s3 }.Min();
<span>}</span>
You might be interested in
With the technology scaling and process improvement, do you think that existing CMOS will be able to exist in future?
Korolek [52]
Regardless of improvements, CMOS technology is very likely to dominate the semiconductor industry and will continue to evolve in the near future. Even in the present day of advanced CMOS, older TTL, RTL, and RTL designs are still able to find their markets. We can however, nevertheless, conclude that a newer and better approach will displace majority of current semiconductors. 
8 0
3 years ago
Betty is developing a machine learning algorithm that looks at vast amount of data collected over 100 years and checks for relat
wolverine [178]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

Betty is developing a machine learning algorithm that looks at a vast amount of data that is collected over 100 years, and She also wants to check the relationship among variables such as humidity, temperature, and rainfall in the given data.

So, the correct answer to this question is b. She is developing an association machine learning algorithm.

Because the association tells the relationship between variables. She used the association to find the relationship among variables such as humidity, temperature,  and rainfall.

While the other options are not correct because:

Regression is used to find out the cause and effect relationship between dependent and independent variables. Big data is the biggest field of data analysis, so this option does not best suit this context. Classification is used to classify data, or organizing data into their related group. While clustering is the task of dividing the population into a number of groups such that populations in the same groups are more similar to other populations in the same group than those in other groups. so these are all incorrect options to this question except the "b" option i.e association.

5 0
3 years ago
Write a python function that on input takes a list l of integers and returns the count of how many of the integers in the list a
stepan [7]
Def countEvenIntegers(integerList):     counter = 0     for item in integerList:          if (item%2 = 0):               counter += 1     return counter
5 0
3 years ago
Date Time Manipulation Exploration If you start from Jan 1st, 1757, and repeatedly add 8 days, until you hit 1800, how many time
zimovet [89]

Answer:

from datetime import datetime, date, timedelta

def count_weekdays(start_date, add_days, stop_year, weekday):

   my_date = start_date

   m = 0  

   while my_date.year != stop_year:  

       my_date = my_date + timedelta(days = add_days)

       if my_date.isoweekday() == weekday:

           m += 1

   return m

date_val = date(1757,1,1)

try:

   date_val = datetime.fromisoformat(input("Enter date in the format yyyy-mm-dd: "))

except ValueError:

   print("Wrong isoformat string")

print(count_weekdays(date_val, 8, 1800, 1))

Explanation:

The datetime package of the python programming language has several time modules like the date, datetime, pytz, timedelta, etc, used to manipulate date and time in documents. The function count_weekdays has four parameters and returns the number of a specified weekday in a period of time.

4 0
3 years ago
Which one of these is NOT a physical security feature you should check when inspecting your hotel room? (Antiterrorism Scenario
Lostsunrise [7]

Answer:

D. Lockbox or safe

Explanation:

Anti- terrorism is a disastrous event, planned by insurgents to take lifes. They can attack any unsecure environment.

When a guest lodges in a hotel, for security reasons (Anti-terrorism training), he/she must consider the distance of the room to an emergency exit, also the quality of the door mounted and then the functionality of the door and window locks.

Safes or lock-box are used to secure money and other material valuables, but not life.

3 0
3 years ago
Other questions:
  • What is storage virtualization? Multiple Choice combines networks by splitting the available bandwidth into independent channels
    13·1 answer
  • Which actions can be performed on tables in Word? Check all that apply.
    13·2 answers
  • You are the project manger for Xylophone Phonics. It produces children's software programs that teach basic reading and math ski
    11·1 answer
  • Define the following concepts: computer network, network architecture, protocol, and multilayer protocol.
    11·1 answer
  • Drugs of addiction act upon a portion of the Brain called the lambic system ? True or false.
    7·1 answer
  • In terms of Technology software is defined as?
    11·2 answers
  • Data are made anonymous by Destroying all identifiers connected to the data. Requiring all members of the research team to sign
    6·1 answer
  • There are many apps that help find you cheaper gas. If the cost of a gallon of regular gas is $3 at one station and $3.50 at ano
    15·1 answer
  • Consider the relational schema below: Students(sid: integer, sname: string, major: string) Courses(cid: integer, cname: string,
    9·1 answer
  • you are a bank loan officer. carter has to come into your office and applied for a loan for a car.you ran his credit report, and
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!