Computer programming-based on boolean logic

Assignment Help Basic Computer Science
Reference no: EM132374276

This week is about logic in computer programing. Ultimately, everything that a computer does is based on Boolean Logic -- a system of binary mathematics based on the values true and false -- as first defined by George Boole in his book An Investigation of the Laws of Thought on Which are Founded the Mathematical Theories of Logic and Probabilities, published in 1854. Each bit can be thought of as a true or false value manipulated by computer systems according to the laws described by Boole.

On a larger scale, we deal with Boolean logic in true or false conditions that determine which parts of an algorithm are executed. In most computer programming languages, including Python, if statements and if ... else ... statements are used for this when the algorithm divides into different branches.

This week you will read about if statements and variations of if statements in Python; Boolean logic; and the nature of algorithms, which lie at the heart of all computing and computer programming.

Remember, this is an introductory Computer Science course, not just a course in Python and Java programming. Some of the material in the section that you will read about algorithms is fundamentally important in Computer Science (and in modern mathematics as, well).

Your tasks are to :

1- Complete Exercise 10 at the end of the chapter as a programming assignment. This involves the use of the hypotenuse function to determine a point's distance from the origin in a Cartesian coordinate system, and branching to determine which quadrant a point is in.

Note: If a point is on the x-axis or the y-axis, which coordinate is it in? The specifications answer this question. Read the conditions in the problem carefully and make sure the logic in your software matches what it says.

2- Writing assignments the nature of algorithm. read Lesson 3.2 about the nature of algorithms in chapter 3 from An Introduction to Computer Science with Java, Python and C++ and answer the five checkpoint questions at the end of the section. Lessons 3.1 and 3.3 and Lab 3 A are not required, but they will help you to better understand Boolean logic, branching, and if statements in Python,

Reference no: EM132374276

Questions Cloud

ERM adoption-implementation in Higher Education environments : Explain how ERM adoption and implementation in the higher education (HE) environment differs from the for-profit environment.
Statistical analysis to determine right mix of components : Does this mean that company leaders should apply statistical analysis to determine the right mix of components
What have you learned from this case about product design : Why would you consider a square watermelon an advantage? What have you learned from this case about product design?
Information risk planning involves number of progressive : Information risk planning involves a number of progressive steps: identifying potential risks to information, weighing those risks,
Computer programming-based on boolean logic : This week is about logic in computer programming. Ultimately, everything that a computer does is based on Boolean Logic
Components of sustainable mis infrastructure : Explain the three components of a sustainable MIS infrastructure. How does it benefit organizations?
Federated cloud application : discussing discussing IAM in a federated cloud application.
Identify the different types of reinforcements : Identify the different types of reinforcements. How do these types enhance learning?
Distinguish between denotation and connotation : Distinguish between denotation and connotation. Describe the process of language acquisition. Discuss the function of the rules of language.

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