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
Kamila [148]
3 years ago
12

Consider two decision problems X and Y. If X reduces in polynomial time to 3-SAT and 3-SAT reduces in polynomial time to Y. Whic

h of the following can be inferred from the previous statement?
a. X is in NP and Y is in NP-Hard.
b. Y is in NP and X is in NP-Hard.
c. Both X and Y are in NP-hard.
d. Both X and Y are in NP.
Computers and Technology
1 answer:
tekilochka [14]3 years ago
8 0

Answer:

X is in NP and Y is in NP-HARD ( A )

Explanation:

X is in NP and Y is in NP-HARD can be inferred from the previous statement made in the problem above because  problem decision X  can be in NP if it can BE reducible to a 3-SAT polynomial real time, if that can be achieved then  3SAT will be in NP since SAT is in NP as well.

also problem decision Y  can be in NP-HARD if 3SAT can be reducible to it in polynomial time as well hence option A is the correct option

You might be interested in
What seems to be the prevailing opinion about enterprise clouds?
garik1379 [7]
Used by almost everyone
3 0
3 years ago
Read 2 more answers
Joshe is a project leader in Tiran technologies. 75 developers and analysts work under his supervision on several projects. Thes
Ivahew [28]

Answer:

Option (b) Presence Information.

Explanation:

Presence Information as the name suggests it includes the report of the employees present in the office at the moment. So, option (b) Presence Information  is the best option available for Joshe as a Project Leader to keep track of the developers and analysts about their presence in the office. This can also be used weather the employees are busy, available or in a meeting or out of office and their availability on working on the project. Option (a) Desktop Sharing doesn't solves the purpose as different employee can share the desktop of a different employee. Option (c) Web Conferencing is not a correct option as it doesn't solves the purpose. Option (d) instant messaging doesn't solves the purpose as if they are busy in a project they might not be able to message instantly and it might be understood as Out Of Office and its not correct option available.  

3 0
3 years ago
Write a function that accepts a pointer to a C-string as an argument and returns the number of words contained in the string. Fo
Anon25 [30]

Answer:

To preserve the original format of the answer, I've added it as an attachment

Explanation:

This line defines the function

int countWords(const char ptr){

   

This line initializes number of words to 0

   int words = 0;

The following iteration is repeated until the last character in the argument is reached

   while(*(ptr) != \0){

This checks if current character is blank

       if(*ptr==  ){

If yes, then it increments number of words by 1

        words++;

 }

This moves the pointer to the next character

       ptr++;

   }

This returns the number of words in the argument

   return words+1;

}

The main begins here

int main() {

This declares user input as a character of 200 length

   char userinput[200];

This prompts user for input

   cout << Enter a string: (200 max): ;

This gets user input

cin.getline(userinput, 200);

This passes the c-string to the function and also prints the number of words

cout << There are  << countWords(userinput)<< words;

Download cpp
4 0
3 years ago
What is the difference between computer hardware and computer software?<br>​
Ipatiy [6.2K]

Answer:

computer Hardware:-The physical of the computer which can be seen or touched is called computer hardware☆Computer needs these hardware devices for performing basic functions like accepting data and instructions .Example(keyboard,mouse,printer etc.)

Computer software:-The collection of programs that makes computer worked is called software☆Computer needs software to instruct tge computer hardware what to do and how to do .Example(windows 7,windows 10,Microsoft paint etc.)

7 0
3 years ago
Explain the working system of a computer with an example​
Romashka-Z-Leto [24]

<h2>{\underline{\fcolorbox{White}{pink}{ANSWER♥︎}}}</h2>

<u>The computer is the combination of hardware and software. Hardware is the physical component of a computer like motherboard, memory devices, monitor, keyboard etc., while software is the set of programs or instructions. Both hardware and software together make the computer system function.</u>

<h2><u>E</u><u>x</u><u>a</u><u>m</u><u>p</u><u>l</u><u>e</u><u>s</u><u> </u><u>:</u><u>-</u><u> </u></h2>

<h3><u>Mainframe Computer</u></h3>
  • Mainframe Computer. 20 in Kickin Technology Series: MainFrame Computers. MORE POWEeeer! Movie 1. ...
  • Desktop Computer. Movie: 2. Desktop Computers. ...
  • Laptop or Notebook Computer. Movie: 3. Laptop Computers. ...
  • Palmtop Computer or Personal Digital Assistant (PDA)
7 0
3 years ago
Other questions:
  • If an employee who needs eye protection wears prescription lenses he or she should
    14·1 answer
  • Points Possible: 6, Points Correct: 4
    6·1 answer
  • Which commercial email provider is most closely associated with Apple devices?
    9·1 answer
  • Eric is working on a computer that has a device driver error. Eric can find the name of the device driver however the actual dev
    13·2 answers
  • The first step in transforming an extended e-r model into a relational database design is to
    14·1 answer
  • In which type of modulation is a 1 distinguished from a 0 by shifting the direction in whichthe wave begins?
    14·1 answer
  • Which of the following statements is false? a. As of Java SE 8, any interface containing only one method is known as a functiona
    6·1 answer
  • 3 uses of Microsoft word in hospital
    10·1 answer
  • A water park will let a visitor on a ride if they are 48 or more inches tall OR they are 14 years old or older. WILL MARK BRAINL
    5·1 answer
  • Hlo Brainlians !!
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!