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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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