Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9201529

Have any Question?


Related Questions in Computer Engineering

4nbspthe appendix to chapter one will be very useful in

4. The appendix to chapter one will be very useful in answering this question, if you need a refresher or introduction to regression analysis. The following equation is the regression results of a study on infant mortali ...

Question discussion pointdefine and briefly discuss the

Question: Discussion point: Define and briefly discuss the following brainstorming techniques, the delphi technique, brainstorming, or nominal group technique. Please read the above discussion point and write the respons ...

Question what is the relation between virtual memory a

Question : What is the relation between virtual memory, a memory map, physical memory and swapping to secondary memory? The response must be typed, single spaced, must be in times new roman font (size 12) and must follow ...

A bit-comparator is a combinational circuit with 2 inputs a

A Bit-Comparator is a combinational circuit with 2 inputs, A and B, and 3 outputs. L, E and G. Output L is 1 if A Output E is 1 if A = B, otherwise E is 0. Output G is 1 if A > B, otherwise G is 0. Show how the 2x4 decod ...

Search the web for two or more sites that discuss the

Search the web for two or more sites that discuss the ongoing responsibilities of security manager. What other components of security management, as outlined by this model, can be adapted for use in the security manageme ...

Research and describe a tool that can be used to test for

Research and describe a tool that can be used to test for web server vulnerabilities. This tool can be as simple as a Google Dork or it can be included in a toolkit for performing enumeration. Why is this tool valuable t ...

Er database modeling questionemployees have an id name

ER database modeling question: Employees have an id, name, department and datejoined. A manager who is also an employee is managing a department and can be a manager of several employees in that department. Ignore Depart ...

Question goal setting please respond to the

Question: "Goal Setting" Please respond to the following: • Early computers were only usable by experts with strong technical knowledge. Examine how interactive systems have changed throughout the years to accommodate av ...

Suppose two packets arrive to two different input ports of

Suppose two packets arrive to two different input ports of a router at exactly the same time. Also suppose there are no other packets anywhere in the router. a. Suppose the two packets are to be forwarded to two differen ...

Both the search and the insertion time for a b-tree are a

Both the search and the insertion time for a B-tree are a function of the height of the tree. We would like to develop a measure of the worst-case search or insertion time. Consider a B-tree of degree d that contains a t ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As