Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is the default file make reads as input? Group of answer choices makefile Make make.f None of the above Given the following lines for

What is the default file make reads as input?

 

Group of answer choices

 

makefile

 

Make

 

make.f

 

None of the above

  

Given the following lines for make utility, what is/are the target file(s)?
 bank: bank.o
 cc bank.o –o bank (Alternately, gcc bank.o -o bank)

 

bank.o: bank.c bank.h
 cc –c bank.c (Alternately, gcc -c bank.c)

 

Group of answer choices

 

Targets are bank, bank.o, and bank.c

 

Targets are bank and bank.h

 

Targets are bank, bank.o and bank.h

 

Targets are bank and bank.o

  

What is/are version control utilities that come with UNIX?

 

Group of answer choices

 

sccs

 

rcs

 

sccs and rcs

 

vcs and rcs

  

The version control system has versions 1.1, 1.2, 2.1, 2.2 and 1.2.1.1. What is the correct way to delete version 1.1?

 

Group of answer choices

 

Delete version 1.2.1.1, 1.2 and 1.1

 

Delete versions in the order of 2.2, 2.1, 1.2 and 1.1

 

Delete 1.1

 

Delete versions in the order of 2.2, 2.1, 1.2.1.1, 1.2 and 1.1

  

The command cc –c foo.c (alternately, gcc -c foo.c) compiles without error. Explain why make could still generate an error with a makefile that contains the following entry:
 foo.o: foo.c
 cc –c foo.c (alternately, gcc -c foo.c)

 

Group of answer choices

 

Command cc (alternately, gcc) is not preceded by a tab

 

Command cc (alternately, gcc) is not preceded by one space

 

Command cc (alternately, gcc) is not preceded by multiple spaces

 

Command cc (alternately, gcc) is preceded by space(s)

 

 

 

 

 

Step by Step Solution

3.51 Rating (141 Votes )

There are 3 Steps involved in it

Step: 1

1 ANSWER makefile REASON makefile is the default file make reads as input The first taget in the m... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Money Banking And The Financial System

Authors: R. Glenn Hubbard, Anthony Patrick O'Brien

3rd Edition

134524063, 9780134524573, 978-0134524061

More Books

Students also viewed these Accounting questions

Question

How can investors use options to manage risk?

Answered: 1 week ago