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
Butoxors [25]
4 years ago
13

For each of these statements find a domain for which the statement is true and a domain for which the statement is false. a) Eve

ryone speaks Hindi. b) There is someone older than 21 years. c) Every two people have the same first name. d) Someone knows more than two other people.
Computers and Technology
1 answer:
Anastaziya [24]4 years ago
3 0

Answer:

a) Everyone speaks Hindi

True Domain: Everyone in Uttar Pradesh (This makes the statement true as everyone cannot speak hindi, but everyone in Uttar Pradesh, an Indian community of indian people can speak Hindi

False Domain: Everyone in the New Jersey (This makes the statement false, as not everyone in New Jersey, which is in the United States can speak Hindi. Probably Indians in New Jersey can speak Hindi, but not everyone

b) There is someone older than 21 years

True Domain: All students in college (This makes it true because there is always someone older than 21 years from all the students in college since many students are over 21 years of age)

False Domain: All the kids in Kindergarten (This statement is false because children in kindergarten are usually between the ages of 2 and say 7 or 8. Hence there is no way to find someone older than 21 years in this domain)

c) Every two people have the same first name

True Domain: Michael Scoffield, Michael Ballack, Michael Owen, Michael Oliver (This is true for this domain since everyone in the domain has the same first name)

False Domain: All the teenagers in the world (The statement is false for this domain because we can find so many first names from this domain)

d) Someone knows more than two other people

True Domain: All the people in the world (From all the people in the world, you can always find someone who knows more than two other people in the world)

False Domain: Everyone living alone in an island that is uninhabited (An uninhabited island means that someone lives alone there and hence he or she cannot know more than two other people since he is alone)

Explanation:

a) Everyone speaks Hindi

True Domain: Everyone in Uttar Pradesh (This makes the statement true as everyone cannot speak hindi, but everyone in Uttar Pradesh, an Indian community of indian people can speak Hindi

False Domain: Everyone in the New Jersey (This makes the statement false, as not everyone in New Jersey, which is in the United States can speak Hindi. Probably Indians in New Jersey can speak Hindi, but not everyone

b) There is someone older than 21 years

True Domain: All students in college (This makes it true because there is always someone older than 21 years from all the students in college since many students are over 21 years of age)

False Domain: All the kids in Kindergarten (This statement is false because children in kindergarten are usually between the ages of 2 and say 7 or 8. Hence there is no way to find someone older than 21 years in this domain)

c) Every two people have the same first name

True Domain: Michael Scoffield, Michael Ballack, Michael Owen, Michael Oliver (This is true for this domain since everyone in the domain has the same first name)

False Domain: All the teenagers in the world (The statement is false for this domain because we can find so many first names from this domain)

d) Someone knows more than two other people

True Domain: All the people in the world (From all the people in the world, you can always find someone who knows more than two other people in the world)

False Domain: Everyone living alone in an island that is uninhabited (An uninhabited island means that someone lives alone there and hence he or she cannot know more than two other people since he is alone)

You might be interested in
What port number is the well-known port used by web servers to distribute web pages to web browsers?question 3 options:?
stira [4]
This is port 80 for clear-text connections and 443 for encrypted (TLS) connections.
5 0
3 years ago
You would like the user of a program to enter a customer’s last name. Write a statement thaUse the variables k, d, and s so that
mojhsa [17]

Answer:

1st question:

Use the variables k, d, and s so that they can read three different values from standard input an integer, a float, and a string respectively. On one line, print these variables in reverse order with exactly one space in between each. On a second line, print them in the original order with one space in between them.

Solution:

In Python:

k = input()  #prompts user to input value of k i.e. integer value

d = input()  #prompts user to input value of d i.e. float value

s = input()  #prompts user to input value of s i.e. a string

print (s, d, k)  #displays these variable values in reverse order

print (k, d, s)#displays these variable values in original order

In C++:

#include <iostream>    // to use input output functions

using namespace std;   //to identify objects like cin cout

int main() {    //start of main function

  int k;   //declare int type variable to store an integer value

  float d; //  declare float type variable to store a float value

  string s;   //  declare string type variable to store an integer value

  cin >> k >> d >> s;    //reads the value of k, d and s

  cout << s << " " << d << " " << k << endl;     //displays these variables values in reverse order

  cout << k << " " << d << " " << s << endl;   } // displays these variable values in original order

Explanation:

2nd question:

You would like the user of a program to enter a customer’s last name. Write a statement that asks user "Last Name:" and assigns input to a string variable called last_name.

Solution:

In Python:

last_name = input("Last Name:")

# input function is used to accept input from user and assign the input value to last_name variable

In C++:

string last_name;  //declares a string type variable named last_name

cout<<"Last Name: ";  // prompts user to enter last name by displaying this message Last Name:

cin>>last_name; // reads and assigns the input value to string variable last_name

The programs alongwith their outputs are attached.

6 0
4 years ago
What's the difference between help desk and service desk?
Mekhanik [1.2K]

Answer:

A help desk is considered to be focused on break-fix (like a incident management), where a service desk is there to assist with break-fix and with service requests (requests for new services) and requests for information (ex. “how do I do <u>X</u>?”).

Hope this helps!

3 0
3 years ago
A menu that drops into the work area of the display screen is called a(n) _______ menu.
Klio2033 [76]
The answer is D) pull down menu

Also called a drop-down menu, this is a menu that remains invisible until you click or hover over it, pulling up the menu options. This is useful for reducing clutter in the work area of an application, such as Excel, while keeping the tools included in the menu readily available. 
5 0
3 years ago
Solid _____ is one color used throughout the entire slide.
andreev551 [17]
Solid Fill is one color used throughout the entire slide. It is possible to apply solid colors to the objects inside your slides, it may be line or fill. Usually in a powerpoint background, solid fill is used to make the presentable presentable.
7 0
3 years ago
Other questions:
  • There are many differenttypes of models, but an individual DSS can consist of onlyone.
    15·1 answer
  • Categories of general purpose application software and examples each​
    13·1 answer
  • Write a program that lets the user enter the name of a team and then displays the number of times that team has won the World Se
    9·1 answer
  • Amazon Web Services and Microsoft Azure are some of the most widely used _______.
    7·1 answer
  • Which of the following is the best example of an installation issue?
    6·2 answers
  • ¿Que es la energía? (una sola respuesta es la correcta)
    11·1 answer
  • Most effective way of closing email is<br>​
    7·2 answers
  • which two functions are performed at the llc sublayer of the osi data link layer to facilitate ethernet communication? (choose t
    13·1 answer
  • List and briefly define the four main elements of a computer.​
    9·1 answer
  • The principle of ________ strongly suggests that programs should execute with the least amount of privileges needed to complete
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!