Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question 1.1. (TCO 4) Which pseudocode keyword is not included in a selection with a single action? (Points : 2)
If
Then
Else
End If


Question 2.2. (TCO 4) The expression amount < 10 is a(n) _____ expression. (Points : 2)
arithmetic
logical
Boolean
unary


Question 3.3. (TCO 4) For the || (or) operator to be false, _____. (Points : 2)
both conditions must be false
both conditions must be true
either condition can be false
either condition can be true


Question 4.4. (TCO 4) Which Boolean expression would be used to print a list of all books that have either less than 30 pages or more than 100 pages? (Points : 2)
pages < 30 && pages > 100
pages < 30 || pages > 100
pages > 30 && pages < 100
pages > 30 || pages < 100


Question 5.5. (TCO 4) Evaluate each of the following conditions (as being true or false). Assume A
= 3, B = 6, C = 3, and D = 18. (A=C) AND (C=D) (Points : 2)
True 
False 


Question 6.6. (TCO 4) Evaluate each of the following conditions (as being true or false). Assume A
= 3, B = 10, and Z = "five".
A * 2 > B / 2 OR Z > "two" (Points : 2)
True 
False 


Question 7.7. (TCOs 3 and 4) Given the following If structure, assume B = 100. Which will be the output?
(Points : 2)
You got an A
Missed It!
100
B


Question 8.8.
(TCOs 3 and 8) Which will be displayed after the following process is completed?

Start
Set x = 1
Set y = 1 
Set z = 1
If ((x = 1) AND (y = 1) AND (z = 1)) then
Set ans = "T"
Else
Set ans = "F"
End if
Display ans 
Stop

(Points : 2)
True 
False 


Question 9.9. (TCO 8) Which will be displayed after the following process is completed?

Start
Set w = 2
Set x = 1
Set y = 3 
Set z = 4
If ((w <> 0 OR x <> 1) OR (y = 2 AND z <> 3)) then
Set ans = "True"
Else
Set ans = "False"
End if
Display ans 
Stop (Points : 2)
True 
False 


Question 10.10. (TCO 8) Which will be displayed after the following process is completed?
Start
Set code = "Z"
Set dept = 40
If (code = "C" OR (dept >= 10 AND dept <= 30) )then
Set message = "valid department"
Else
Set message = "invalid department"
End if
Display message
Stop (Points : 2)
valid department
invalid department 

Computer Engineering, Engineering

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

Have any Question?


Related Questions in Computer Engineering

Short answer essaygiven a requirement to integrate wdas

Short answer essay Given a requirement to integrate WDAs into an Enterprise Intranet, what are 2 applications that would be candidates for that, and illustrate strategies/methodologies to accomplish that.

Question suppose you need to store 10 tb of data in a new

Question Suppose you need to store 10 TB of data in a new data center. How many 2 GB hard disks do you need if the hard disk should store up to 70% of their capacity using RAID 0, RAID 1, RAID 3, or RAID 5.

Stack - java plz use simple java language netbeans 81 or

STACK - java, plz use simple java language, netbeans 8.1 or 8.2 1. Create a Stack class based on MyLinkedList class. Use this class in the following: 2. Create a new Java Application that has the following methods: 1. A ...

Is there any difference in terms of the information that

Is there any difference in terms of the information that could be provided to the decision maker by an IS that was created using HSM and an IS that was created using SSM?

Assignment wireless applications advances advantages and

Assignment: Wireless Applications, Advances, Advantages, and Disadvantages The adoption of wireless technologies varies from one industry to another, and is often based on the benefits provided versus the challenges, imp ...

Question this assignment consists of two 2 sections a

Question: This assignment consists of two (2) sections: a business requirements document and a project plan. You must submit both sections as separate files for the completion of this assignment. Label each file name acc ...

One of the 5 halogens which are diatomic has the fastest

One of the 5 halogens (which are diatomic) has the fastest root mean square velocity at STP. Calculate this velocity in meters per second.

What is the transmission type transmission form

What is the Transmission Type, Transmission Form, Transmission Speed, Address for Transmission and Collusion for hubs?

Quality management plan it should includea short statement

Quality Management Plan. It should include: A short statement that reflects your team's philosophy or objective for ensuring that you deliver a quality system to your client. Develop and describe the following that your ...

Question what is stp what is rstp and what methods does

Question : What is STP, what is RSTP, and what methods does Cisco provide to make these two methods work better as networks grow? The response must be typed, single spaced, must be in times new roman font (size 12) and m ...

  • 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