2 attachmentsSlide 1 of 2attachment_1attachment_1attachment_2attachment_2
Unformatted Attachment Preview
Digital Logic Design (CS231)
To help students understand the course purpose and its relationship with other materials on their
Topic of Discussion
Digital logic design is a foundation for many areas of computer science. After studying the
topics (see the syllabus for the major topics), you will be able to study other topics related
to it and design some logic circuits to carry specific task. Discuss (in some details) the other
topics/areas that you can study or the tasks you can solve using digital logic design
1 Post your responses, examples, ideas, and discussions on this topic on the blackboard.
2. You must write at least ONE original post and at least ONE response giving useful
comments on a post uploaded by your classmates.
Total Marks: 4 marks
2 marks: for posting your answer correctly.
1 mark: for each valid and meaningful response (maximum 2) to another classmate posting.
Please note that any copy and paste from the Internet leads to a zero mark in this discussion
I want two answers for each question
CS 230 – Discussion Board
In this discussion board, you will post your answer to the question. You will also read and respond
to other classmate’s postings. This is an excellent way for you to interact with your colleagues and
to share your thoughts about the question answer.
1. Post your answer to the Question:
Object-oriented programming (OP) is a fundamental programming paradigm used by
nearly every developer at some point in their career. Describe why we use Object-oriented
programming and explain the features of Object-oriented programming in java?
2. Respond to two other classmates’ postings.
Post your answer and your comments on your classmates on or before 13/9/2022 @ 11:59 PM.
Grading Criteria (4 Mark)
2 marks: for posting your answer.
1 mark: for each response to another classmate posting (2 marks maximum)
I want two answers for each question
Best Practices for OOP Concepts in Java
The goal of OOP concepts in Java is to save time without sacrificing security and ease of use. The following
best practices are all oriented toward advancing that main goal.
DRY (Don’t Repeat Yourself). A core concept in Java, DRY simply means you should never have two
blocks of identical code in two different places. Instead, have one method you use for different
If you expect your Java code to change in the future, encapsulate it by making all variables and
methods private at the outset. As the code changes, increase access to “protected” as needed, but not
Single Responsibility. This best practice principle for OOP concepts in Java states that a class should
always have only one functionality. That way, the class can be called and/or extended on its own
when new uses arise for it, without causing coupling between different functionalities.
Open Closed Design. Make all methods and classes Closed for modification but Open for an
extension. That way, tried and tested code can remain static but can be modified to perform new
tasks as needed.
Object oriented programming
Object-Oriented Programming or OOPs refers to languages that use objects in
programming, they use objects as a primary source to implement what is to happen in
the code. Objects are seen by the viewer or user, performing tasks assigned by you.
Object-oriented programming aims to implement real-world entities like inheritance,
hiding, polymorphism etc. in programming. The main aim of OOP is to bind together
the data and the functions that operate on them so that no other part of the code can
access this data except that function.
Pillars of OOPs
Data Abstraction is the property by virtue of which only the essential details are
displayed to the user. The trivial or non-essential units are not displayed to the user.
Ex: A car is viewed as a car rather than its individual components.
It is defined as the wrapping up of data under a single unit. It is the mechanism that
binds together the code and the data it manipulates. Another way to think about
encapsulation is that it is a protective shield that prevents the data from being accessed
by the code outside this shield.
Inheritance is an important pillar of OOP (Object Oriented Programming). It is the
mechanism in Java by which one class is allowed to inherit the features (fields and
methods) of another class.
It refers to the ability of object-oriented programming languages to differentiate
between entities with the same name efficiently. This is done by Java with the help of
the signature and declaration of these entities.
In mathmatics and mathmatical logic, Boolean algebra is a form of algebra in which the values of the
varibales are the truth valuble true and false, usually denoted 1 and 0, respectively. Instead of elemantery
algebra, where the values of the variables are numbers and the prime operations are addition and
multiplication, the main operations of Boolean algebra are the conjunction (and) denoted as, the disjunction
(or) denoted as, and the negation (not) denoted as. It is thus a formalism for describing logical operations, in
the same way that elementary algebra describes numerical operations.
What is Digital logic design ?
A digital computer stores data in terms of digits (numbers) and proceeds in discrete steps from one state to
the next. The states of a digital computer typically involve binary digits which may take the form of the
presence or absence of magnetic markers in a storage medium , on-off switches or relays. In digital
computers, even letters, words and whole texts are represented digitally. Digital Logic is the basis of
electronic systems, such as computers and cell phones. Digital Logic is rooted in binary code, a series of
zeroes and ones each having an opposite value. This system facilitates the design of electronic circuits that
convey information, including logic gates. Digital Logic gate functions include and, or and not. The value
system translates input signals into specific output. Digital Logic facilitates computing, robotics and other
electronic applications. Digital Logic Design is foundational to the fields of electrical engineering and
computer engineering. Digital Logic designers build complex electronic components that use both electrical
and computational characteristics. These characteristics may involve power, current, logical function,
protocol and user input. Digital Logic Design is used to develop hardware, such as circuit boards and
microchip processors. This hardware processes user input, system protocol and other data in computers,
navigational systems, cell phones or other high-tech systems.
Purchase answer to see full
Explanation & Answer:
User generated content is uploaded by users for the purposes of learning and should be used following Studypool’s honor code & terms of service.