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
Greeley [361]
3 years ago
9

PLZZZ HELP ME THIS IS THE THIRD TIME!!! BRAINLIEST AND 50 POINTS What are the advantages and disadvantages of top-down and botto

m-up programming? How would you decide which one to use? Do you approach problems in your real life from a bottom-up or top-down approach?
Computers and Technology
1 answer:
lord [1]3 years ago
5 0

I would do top to down approach start from the top and work your way down to the bottom.

You might be interested in
What is Microsoft marketing ?
vaieri [72.5K]

Answer:

Microsoft Corporation's marketing mix is a showcase of how rapid innovation combines with effective approaches.

Explanation:

Microsoft's current marketing strategy is to drive its enterprise businesses by creating cloud-based solutions that will stick with consumers.

American multinational technology company with headquarters in Redmond, Washington. It develops, manufactures, licenses, supports, and sells computer software, consumer electronics, personal computers, and related services.

6 0
3 years ago
Why would an over the shoulder shot be used
Nezavi [6.7K]
To capture a certain size frame of the persons face mainly to emphasize on who is talking
3 0
3 years ago
Benjamin recently issued new mobile phones to the marketing team at his company. Each phone can transmit encrypted information f
slava [35]

Answer:

C. NFC

Explanation:

NFC stands for Near Field Communication. NFC is been embedded in recent mobile device (ranging from phone to tablet) to ease payment. NFC is a short-range high frequency wireless communication technology that enables the exchange of data between devices over about a 10 cm distance.

From the option, Bluetooth look like a probable answer but when they are both compared; we realized that NFC has a shorter set-up time over bluetooth and is therefore faster than bluetooth.

3 0
3 years ago
A local government uses Short Message Service (SMS) text messages to alert local residents when roads are closed. Which of the f
LenKa [72]

Answer:

(B) SMS text messages are likely to reach recipients quickly.

(D) SMS text messages can be sent to multiple recipients.

Explanation:

Short message service (SMS) refers to the a service for the transmission of messages from or to a mobile phone.

An short message service is usually not longer than 160 characters consisting of alphabets and numerical values and they also do not contain images.

4 0
3 years ago
Write a parent program to fork(2) n processes where n is passed tothe program on the command line, and n can be from 1 to 10. Al
MrRissso [65]

Answer:

Complete code is given below:

Explanation:

#include <stdio.h>

#include <sys/types.h>

#include <unistd.h>

#include <time.h>

#include <sys/wait.h>

int main(int argc , char *argv[]){

pid_t mypid, childpid;

int status;

int i,n;

time_t t;

     

mypid = getpid();

printf("pid is %d.\n", mypid);

childpid = fork();

if ( childpid == -1 ) {

perror("Cannot proceed. fork() error");

return 1;

}

 

 

if (childpid == 0) {

 

 

mypid = getpid();

 

 

childpid = fork();

if ( childpid == -1 ) {

perror("Cannot proceed. fork() error");

return 1;

}

 

if (childpid == 0) {

 

mypid = getpid();

printf("Child pid is %d.\n", getppid());

 

childpid = fork();

 

 

if ( childpid == -1 ) {

perror("Cannot proceed. fork() error");

return 1;

}

random((unsigned) time(&t));

printf(" parent id = %d : Random = %d\n",mypid , (int)(random()% 100 +1));

printf("child id = %d : Random = %d\n",getpid , (int)(random()% 100 +1));

 

if (childpid == 0) {

 

printf("Child 2: I hinerited my parent's PID as %d.\n", mypid);

 

mypid = getpid();

printf("Child 2: getppid() tells my parent is %d. My own pid instead is %d.\n", getppid(), mypid);

 

sleep(30);

return 12;

} else return 15;

} else {

 

while ( waitpid(childpid, &status,0) == 0 ) sleep(1);

 

if ( WIFEXITED(status) ) printf("Child 1 exited with exit status %d.\n", WEXITSTATUS(status));

else printf("Child 1: child has not terminated correctly.\n");

}

} else {

printf(" fork() is ok and child pid is %d\n", childpid);

wait(&status);

 

if ( WIFEXITED(status) ) printf(" child has exited with status %d.\n", WEXITSTATUS(status));

else printf(" child has not terminated normally.\n");

}

 

return 0;

}

Output:

pid is 24503.

Child   pid  is 24565.

parent id = 24566 : Random = 87

child id = 1849900480 : Random = 78

pid is 24503.

Child 1  exited with exit status 15.

pid is 24503.

fork() is ok and child pid is  24565

child has exited with status 0.

6 0
3 years ago
Other questions:
  • Which of the following commands is more recommended while creating a bot?
    9·1 answer
  • You wish to lift a 12,000 lb stone by a vertical distance of 15 ft. Unfortunately, you can only generate a maximum pushing force
    6·1 answer
  • Which of the following illustrates an example of a Boolean data type?
    15·1 answer
  • You can combine the algorithms for converting between infix to postfix and for evaluating postfix to evaluate an infix expressio
    13·1 answer
  • Write a pseudo-code that keeps asking the user for a given number 'n' different of zero, then print all numbers between one &amp
    8·1 answer
  • What are the four stages a customer goes through when buying a product?
    7·2 answers
  • What word can you type using only the left home row keys and the right reach keys?
    6·2 answers
  • How did imperialism lead to WWI? A The debate of the morality of imperialism created tensions around Europe b Native people were
    12·1 answer
  • Ethan wants to change the font in his document. He should _____.
    8·1 answer
  • A project manager has designed a new secure data center and has decided to use multifactor locks on each door to prevent unautho
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!