A selection with a single action

Assignment Help Basic Computer Science
Reference no: EM13738028

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 

Reference no: EM13738028

Questions Cloud

Various roles and responsibilities of a case manager : Discuss the various roles and responsibilities of a case manager. Explain the importance of being able to identify problems and causes of behavior using theoretical models. Include at least one theoretical cause of problem behavior.
Determine the maximize effectiveness at the least cost : Determine the following before deciding a prescription: (a) maximize effectiveness at the least cost; (b) maximize effectiveness at a fixed cost of $10,000; (c) achieve a fixed-effectiveness level of 6,000 units of service at a fixed cost of $20,0..
Various types of database management systems : A ) Write 2-3 pages on Database Management Systems (DBMS) covering the following: Various types of database management systems Commercial RDBMS in the market today.
Write a paper using the retail pictures : The goal is to write a paper using the retail pictures and refrence them by writing about retail trends and strategies
A selection with a single action : Question 1.1. (TCO 4) Which pseudocode keyword is not included in a selection with a single action? (Points : 2)IfThenElseEnd If
Who contributed more to the development of greek science : Who contributed more to the development of Greek science, Aristotle or Plato? Be sure to present a coherent argument with illustrations.
Appropriate individualized education goals : Choose a student with traumatic brain injury. Design and evaluate two appropriate individualized education goals in Math and English Language Arts that are supported by research-based instructional strategies to meet the needs of the student.
Use of authentication types techniques impact security : Explain how the use of authentication types techniques impact security
Big-five personality dimensions : Identify a leader with whom you have had many opportunities to interact and have had many opportunities to observe. This leader may be a good or bad example of leadership; however, you must choose someone about whom you can write intelligently whi..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  The graphics frame class and the drawable interface

This lab makes use of the GraphicsFrame class and the Drawable interface. Your missions is to create the class Airplane.

  Ieee 754-floating point representation

Express the final answer in single precision IEEE 754-floating point representation - In single precision IEEE 754-floating point numbers, perform the subsequent operations.

  The following reflect passing scores in a class versus time

the following reflect passing scores in a class versus time spent weekly preparing for that coursepassc011011011011time

  Create a financial spreadsheet on a topic

Create a financial spreadsheet on a topic

  Diagnos application which has changed from original state

How does third-party plug-ins change process of diagnosing and troubleshooting errors within application? What steps would you take in diagnosing the application which has been changed from its original state?

  Full support & commitment of the ceo and executive team

As AutoTek embarks on their move to become a global company, the idea of Services Oriented Architecture (SOA) has been a discussion at several of the recent executive meetings. Is SOA an enterprise strategy that AutoTek should consider? Karin R..

  Explain capacity of memory equal to size of external storage

This means that capacity of memory will be equal to size of external storage. How would this influence file structures? How would this influence storage devices?

  Explain how you would apply the six sigma approach

When a senior product inspector at Plush Packet Inc. (PPI) inspected a shipment of Router the Raccoon plush toys she discovered that, on average, 15 of the 50 toys in every box had defective seams, and in many of the defective toys, the seams w..

  In how many different ways can one plan such a tour

The price of a European tour includes four stopovers to be selected from among 10 cities. In how many different ways can one plan such a tour if the order of the stopover matters.

  Design patterns in today-s development environments

In System Analysis and Design: Design Patterns - How widely used are design patterns in today's development environments?

  Find the optimal location for oliveira two distribution

Find the optimal location for Oliveira's two distribution centers in this expanded version of the problem.

  What are the components of pki

1. What are the components of PKI? 2. What is physical security? What are the primary threats to physical security? How are they manifested in attacks against the organization? 3. What are certification and accreditation when applied to informati..

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