What is the loosest style of coupling

Assignment Help Basic Computer Science
Reference no: EM13952569

PROGRAMMING LOGIC AND DESIGN

1. WHAT TYPE OF VARIABLES CAN BE USED TO REDUCE UNNECESSARY COMPARISION IN A BUBBLE SORT.

(A) TEMPORARY

(B) FLAG

(C) INTEGER

(D) ARRAY

2.USUALLY A PROGRAM THAT PROCESSES AN ARRAY USES A :

(A)DECISION

(B) OUTPUT REPORT

(C) BATCH

(D) LOOP

3.WHEN MERGING FILES, A ______ IS USED TO DETERMINE WHICH FILE THE NEXT RECORD COMES FROM.

(A) COMPARISON

(B) ARRAY

(C) SEQUENCE

(4) FLAG

4.WHEN MERGING 2 FILES, WHAT CONDITION TERMINATES THE MAIN LOOP OF THE PROGRAM.

(A)WHEN THE FIRST FILE REACHS EOF

(B) WHEN THE SECOND FILES REACHES EOF

(C) WHEN BOTH FILES REACH

(D) WHEN 100 RECORDS HAVE BEEN PROCESS

5.ONE OF THE THINGS YOU NEED TO FIND OUT ABOUT A MODULE YOU WISH TO CALL IS THE:

(A) ARGUMENT LIST

(B) LOCAL VARIABLE NAMES

(C) NUMBER OF LINES CODE

(D)ORIGINAL PROGRAMMERS NAME

6. PASSING VALUES TO MODULE HELPS FACILITATE:

A) CONFUSION

(B) ENCAPSULATION

(C) SHARING

(D) REUSE

7. WHAT IS THE LOOSEST STYLE OF COUPLING?

A) EXTERNAL

(B) DATA-SHARED

(C) CONTROL

(D) DATA

8. WHICH OF THE FOLLOWING SORTING METHODS IS THE LEAST EFFICIENT?

A) INSERTION

(B) SELECTION

(C) BASIC BUBBLE SORT

(D) OPTIMIZED BUBBLE SORT

9.IN A (N) ______ SORT ALL OF THE ARRAY ELEMENTS ARE MOVED TO MAKE ROOM FOR THE NEWLY SORTED ELEMENT.

A) SWAP

(B) SELECTION

(C) BUBBLE

(D)INSERTION

10. WHAT TYPE OF VARIABLE IS USED TO HELP MOVE ARRAY ELEMENTS IN A SELECTION SORT?

A) SWAP

(B) TEMPORARY

(C)FLAG

(D) ARRAY

11.__________ CONTAINS AN EXTRA FIELD IN EACH RECORD THAT HOLDS A POINTER TO THE NEXT LOGICAL RECORD.

A) LINK LIST

(B) INDEX

(C) PHYSICAL MEMORY

(D) RANDOM-ACCESS MEMORY

12.A_____ APPLICATION USUALLY INVOLVES THE USER TYPING A CHOICE AT THE COMMAND PROMPT

A)GRAPHICAL USER INTERFACE

(B) BATCH

(C) CONSOLE

(D) GUI

13. WHEN PROGRAMMER WRITES A PROGRAM ,SHE MAY LEAVE CERTAIN MODULE DEFINITIONS AS _______ WHEN WORKING ON THE MAINLINE LOGIC.

A) SHELLS

(B) STUBS

(C) STANDARDS

(D) BATCHES

14. WHEN A MENU CONTAINS NUMEROUS OPTION, IT IS MORE ELEGANT TO USE A(N) _____ STRUCTURE THAN A SERIES OF DECISIONS.

A)CASE

(B) LOOP

(C) IF-THEN-ELSE

(D) BATCH

15.WHEN MATCHING RECORDS BETWEEN FILES THEY MUST BE :

A) SORTED IN THE SAME ORDER

(B) PADDED TO HAVE THE SAME LENGTH

(C) BACKED UP

(D) PRINTED

16. YOU NEED TO UNDERSTAND A SUBROUTINE'S _____ IN ORDER TO USE IT

A) INTERNAL STRUCTURE

(B) PROGRAMMING STYLE

(C) LOCAL VARIABLES

(D) INTERFACE

17.THE ORDER THAT ARRAY ELEMENTS ARE STORED IN BASE ON THEIR MEMORY ADDRESS IS THE _____ ORDER

A) NUMERIC

(B) PHYSICAL

(C) LOGICAL

(D) INDEX

18.YOU CAN CIRCUMVENT POTENTIAL PROBLEM CAUSE BY A USER'S INVALID DATA ENTRIES BY _______ THE USER'S INPUT

A) GROUPING

(B) DENYING

(C)VALIDATING

(D) MODIFYING

19.THE FIRST ATSK THAT ANY MENU-DRIVEN PROGRAM SHOULD PREFORM IS:

A) ACCEPTING

(B)DISPLAYING THE MENU

(C) READING THE USER RESPONSE

(D) PERFORMING A MODULE BASE ON USER SELECTION

20.A VARIABLE'S ______ IN NO WAY INFLUENCES HOW THE METHOD IS CALLED FROM ANOTHER MODULE

A) LOCAL NAME

(B) DATA TYPE

(C) SIZE

(D) DEFINITION

Reference no: EM13952569

Questions Cloud

Please state the following statements as logic expressions. : Please state the following statements as logic expressions.
What could you have done differently : Discussion VU.Think of an example of a time you experienced stress due to poor time management. What could you have done differently? Think of an example of a time you experienced stress due to poor time management. What could you have done different..
Compute the average dipole moment per atom : A sample of diamond has a density of 3.5 grams/centimeter^3 and a polarization of 10^-7 coulomb/meter^2. Compute the average dipole moment per atom.
How fast does a molecule of each gas move at celsius : The masses of 1 mole of various gases are as follows: hydrogen about 2 grams, helium about 4 grams, nitrogen about 28 grams, oxygen about 32 grams and carbon dioxide about 44 grams. On the average how fast does a molecule of each gas move at 333 ..
What is the loosest style of coupling : WHAT TYPE OF VARIABLES CAN BE USED TO REDUCE UNNECESSARY COMPARISION IN A BUBBLE SORT.
Estimate starlite sales revenues from electric staplers : Starlite Company manufactures office products. Last year, it sold 20,000 electric staplers for $25 per unit. The company estimates that this volume represents a 25 percent share of the current electric stapler market. Required: Estimate Starlite's..
What is frictional force, in newtons, by the floor on box : If an object is displaced a small distance from an equilibrium position and returns to that position after being released, then which of the following best describes this equilibrium position?
Corrections and delinquency intervention-prevention programs : Use the University Library to locate a journal article encompassing such topics as: corrections, jails, prisons, rehabilitation, or boot camps. You can use your research in your Final Paper, due in Week Five. Also, the Required and Recommended Res..
Legally acceptable and useful to the organization : We are going to start at the step right before the interview-the application process. What are the basic principles of designing a legally sound application form? How can we design a form that is both legally acceptable and useful to the organization..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Program needs to be in pseudocode

Need help Designing a program that lets the user enter the total rainfall for each of 12 months into an array. The program should calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and..

  How might bpr be used in your organization

Discuss why a company would purchase a system rather than build it themselves.

  Write a shell script

Write a shell script, named grepdir.sh, that searches for a pattern in a directory, and all of its subdirectories.

  The human element

Human nature is the single greatest vulnerability in any control system and cannot be ignored. Organizations should always take human behavior into account when designing access plans and strategies. Human beings can pose unintentional threats when t..

  What is the sum after the following loop terminates

What is the sum after the following loop terminates? int sum=0 int ittem =0 do { item++; if(sum>=4)continue; } while(item

  Description of what the computer considers

For your initial post, provide your own description of what the computer considers "TRUE" and what the computer considers "FALSE." Then, provide at least two code examples (original examples) that would return TRUE, and provide a description of what ..

  Write a program to calculate the trajectory of a cannon ball

Write a program to calculate the trajectory of a cannon ball (we use a watermelon). The program must ask the user for the initial velocity and initial trajectory angle then ask the user what they want to calculate

  Need a flow chart /blue print showing all the steps

Need a flow chart /blue print showing all the steps below is in the process - ordering a drink at our large pools 1. customer wants drink

  Sequential search question

Derive an exact formula in n (not big O) for the average number of target-to-element comparisons for successful searches on an array of size n, assuming that all possibilities of successful match are equally like.Show your work

  Compute the mips rating for processor

Determine the average CPI? On a 500MHz Pentium III program takes 1 second. Compute the MIPS rating for this processor? Determine the CPI?

  Calculate and display the volume of a cylinder

Write a complete program for Visual C++ to calculate and display the volume of a cylinder, given its radius and height. Your program must meet the following requirements.

  Architecture to assist in the decision-making process

Using enterprise architecture to assist in the decision-making process, write a 1500 words paper in which you do the following:Determine activities that you believe would be appropriate for outsourcing.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd