INT 1111

posted by .

QUESTION 1
When using the OR logical operator to connect 2 conditions to create a complex Boolean expression, neither the first condition nor the second condition has to be true for the complex Boolean expression to be true.
True
False

QUESTION 2
String comparisons are generally not case sensitive.
True
False

QUESTION 3
A decision structure allows a program to perform actions only under certain conditions.
True
False

QUESTION 4
The case structure can be used as an alternative to a nested decisions structure .
True
False

QUESTION 5
A Boolean variable can only hold one of two values: true or false.
True
False



QUESTION 6
Divide and conquer: It’s easier to tackle bigger tasks individually.
True
False

QUESTION 7
A module is a group of statements that exists within a program for the purpose of performing a specific task.
True
False

QUESTION 8
When passing an argument by value, you’re using a 2-way communication between the calling module and the called module.
True
False

QUESTION 9
The scope of a variable describes the part of the program in which the variable can be accessed.
True
False

QUESTION 10
There should be no spaces in a module name.
True
False

  • INT 1111 -

    1.True
    2.False
    3.False
    4.True
    5.False
    6.True
    7.True
    8.False
    9.True
    10.True

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. C++

    For each of the following problems, write a program or a program segment that performs the specified action.Each problem refers to class Polygon (Fig. L 11.15). This class contains a dynamically allocated array of x-coordinates and …
  2. Computer Science

    Q1: Write (militaryTime t AMPM), where t is an integer from 1 to 12 (inclusive) and AMPM is either 0 to represent morning or 1 to represent afternoon/evening. The function will convert the hours of the day from standard to military …
  3. vba excel

    Our teacher wanted us to set up a command button that gives 3 input boxes on city, state, and zip code. Next we are suppose to use a Boolean type and set a true or false setting depending on the zip code that's suppose to be 5 digits. …
  4. Math

    A used bookstore sells paperback fiction books in excellent condition for 2.50$ and In fair conditions for 0.50$. Write an expression for the cost of buying (e) excellent condition paperback and (f) fair condition paperback.
  5. Computer Science

    Write a class “Program1” that has the method “allLess” (below) that receives two arrays of integers and returns true if each element in the first array is less than the element at the same index in the second array. For example, …
  6. computer science

    IHow do you refractor this: public class Employee { private boolean isPartTime; private int seniority; private int monthsDisabled; public Employee(boolean isPartTime, int seniority, int monthsDisabled) { this.isPartTime = isPartTime; …
  7. logical statements-urgent

    I have to come up with a logical statement when making a truth table that has these conditions: The statement is always false if both P and Q are true. Otherwise, the statement is true if Q is true but R is not true. so far I have …
  8. Physics

    prove the following rules if true or false using Boolean algebra (a)A+AB = A+B (b)(A+B)(A+C) = A+BC
  9. computer science

    QUESTION 1 When using the OR logical operator to connect 2 conditions to create a complex Boolean expression, neither the first condition nor the second condition has to be true for the complex Boolean expression to be true. True False …
  10. electronics and circuits

    How many distinct boolean-valued functions are there of n boolean-valued signals?

More Similar Questions