Discussion-A

Description

2 attachmentsSlide 1 of 2attachment_1attachment_1attachment_2attachment_2

Unformatted Attachment Preview

Digital Logic Design (CS231)
Discussion Board
Purpose
To help students understand the course purpose and its relationship with other materials on their
degree.
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
Submission Instructions
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
Marking Criteria
2 marks: for posting your answer correctly.
1 mark: for each valid and meaningful response (maximum 2) to another classmate posting.
Important notice
Please note that any copy and paste from the Internet leads to a zero mark in this discussion
board.
I want two answers for each question
Answer 1
Answer 2
CS 230 – Discussion Board
Purpose
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.
Submission Instructions
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
Discussion 1
Best Practices for OOP Concepts in Java
COLLAPSE
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
applications.
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
too public.
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.
Reply
Discussion 2
Object oriented programming
COLLAPSE
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

Abstraction
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.

Encapsulation
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
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.

Polymorphism
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.
Reply
Discussion 3
Boolean logic
COLLAPSE
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.
Reply
Discussion 4
What is Digital logic design ?
COLLAPSE
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.
Reply

Purchase answer to see full
attachment

Explanation & Answer:
1 Page

User generated content is uploaded by users for the purposes of learning and should be used following Studypool’s honor code & terms of service.

Reviews, comments, and love from our customers and community:

Article Writing

Keep doing what you do, I am really impressed by the work done.

Alexender

Researcher

PowerPoint Presentation

I am speechless…WoW! Thank you so much!

Stacy V.

Part-time student

Dissertation & Thesis

This was a very well-written paper. Great work fast.

M.H.H. Tony

Student

Annotated Bibliography

I love working with this company. You always go above and beyond and exceed my expectations every time.

Francisca N.

Student

Book Report / Review

I received my order wayyyyyyy sooner than I expected. Couldn’t ask for more.

Mary J.

Student

Essay (Any Type)

On time, perfect paper

Prof. Kate (Ph.D)

Student

Case Study

Awesome! Great papers, and early!

Kaylin Green

Student

Proofreading & Editing

Thank you Dr. Rebecca for editing my essays! She completed my task literally in 3 hours. For sure will work with her again, she is great and follows all instructions

Rebecca L.

Researcher

Critical Thinking / Review

Extremely thorough summary, understanding and examples found for social science readings, with edits made as needed and on time. Transparent

Arnold W.

Customer

Coursework

Perfect!

Joshua W.

Student

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>