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.:- M91623400
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Suppose in equilibrium and in a closed economy at the point

Suppose, in equilibrium and in a closed economy, at the point of tangency between the iso-value line and the ppf, we observe that MPLf= 8 MPLm= 2 and PM=1 what is Pf? what is the wage?

Question in the link below it has all the information that

Question: In the link below it has all the information that needs to be in the crowsfoot erd. Don't take on this assignment if you cant put all the info in the ERD. The instructor will grade the work that you do and send ...

Discuss the impact of the market on well-diversified

Discuss the impact of the market on well-diversified portfolios. What does this suggest about the performance of mutual funds? Include real-world examples in your explanation.

What is the relation between z-score confidence interval

What is the relation between Z-score, confidence interval, t-statistic, p-score and hypothesis testing?

The rooted fibonacci trees tn are defined recursively in

The rooted Fibonacci trees T n are defined recursively in the following way. T 1 and T 2 are both the rooted tree consisting of a single vertex, and for n = 3, 4, ...., the rooted tree T n is constructed from a root with ...

What is the formula used to calculate marginal product of

What is the formula used to calculate marginal product of food and manufactures.

Xl cos dividends are expected to grow at a 20 rate for the

XL Co.'s dividends are expected to grow at a 20% rate for the next 3 years, with the growth rate falling off to a constant 6% thereafter. If the required return is 14% and the company just paid a $3.10 dividend, what is ...

Why are some nations economically strong and others

Why are some nations economically strong and others economically weak?

Write a program to calculate the average temperature for

Write a program to calculate the average temperature for the year and determine the hottest month of the year. In your main method, the program should collect the user input of the average Fahrenheit temperatures for eac ...

Can someone please code this simple background subtraction

can someone please code this simple background subtraction but with height and width ratio to detect a human being. Please! I so badly need it for my dissertation,, cant make a loop that would subtract the every frame fr ...

  • 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