StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Discussion questions1-3 - Essay Example

Cite this document
Summary
Syntax errors are treated differently in C+ (Compiler) and Java (Interpreter), as the interpreters are used to interpret the source code line by line, whereas, the compiler (C+) compiles the whole code at once and displays all the errors at a time.
Usually, the compiler does…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER93.9% of users find it useful
Discussion questions1-3
Read Text Preview

Extract of sample "Discussion questions1-3"

Discussion Syntax errors are treated differently in C++ (Compiler) and Java (Interpreter), as the interpreters are used to interpret the source line by line, whereas, the compiler (C++) compiles the whole code at once and displays all the errors at a time. Usually, the compiler does not generate any file (object or executable) and stop compiling if there is a compilation error. However, some compilers continue compilation to show all the syntax errors at once, for example C++. Conversely, while dealing with objects in compilers (C++), only a few object files produced, but not at all.

The interpreter does not differentiate between exception and syntax error, it continues to interpret and execute the source code till possible. However, it stops interpreting where finds a syntax error with an error message. In this regard, it is achievable for interpreters to handle the syntax errors as exceptions to continue an execution of a source code/program even after the syntax error.Discussion 2Defensive programming is to investing more time in writing a secure program by validation of extensive of input, avoiding garbage values and standardization of exception handling.

The defensive programming relates to variables as in the defensive programming we need to use naming scheme (preferably Hungarian Variables) begins with int, str and providing meaningful variables names. All the variables should be explicitly initialized to avoid garbage values, long script should be break into sections that facilitates reusability and makes easy debugging. Hence, it can be said that the defensive programming avoids not only syntax errors but also some semantic errors while using the above methods, so that when viewing variables the programmer explicitly knows for what purpose the variable is declared and used in a program.

Discussion 3 – Part (1) – Using SpreadsheetsSpreadsheet model is one of the major business models that is ubiquitous and allow us to develop more complex and detailed models than traditional mathematics allows. It facilitates business communication especially performing modeling tasks and accounting statements in effective and efficient manner, as it is more-powerful and refined tool. This is the reasons for which spreadsheet modeling is high in demand of recruiters.Discussion 3 – Part (2) – Benefits of Business ModelsModeling helps us to make informed decisions in any business.

We can model a system before its actual implementation to know any defect in the model, test the model and can identify pros and cons of the modeled system. Modeling can be used to investigate alternate ways of doing business, without investing in a business that could result in exploring the unfeasible. We can easily manage and predict the information by developing models. From the above discussion it could be said that modeling enhances business perception while reducing costs.

Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Discussion questions1-3 Essay Example | Topics and Well Written Essays - 250 words”, n.d.)
Retrieved from https://studentshare.org/logic-programming/1599622-discussion-questions1-3
(Discussion Questions1-3 Essay Example | Topics and Well Written Essays - 250 Words)
https://studentshare.org/logic-programming/1599622-discussion-questions1-3.
“Discussion Questions1-3 Essay Example | Topics and Well Written Essays - 250 Words”, n.d. https://studentshare.org/logic-programming/1599622-discussion-questions1-3.
  • Cited: 0 times

CHECK THESE SAMPLES OF Discussion questions1-3

Discussion Questions Week 3

It is an object orientated language that is “easy to use.... ?? Developers write Java source code as plain text.... Instead of .... xt, the file ends in the .... ava extension.... After being compiled, the file has the .... lass file ending.... (Campione,… Programmers are encouraged to write Java applications....
2 Pages (500 words) Essay

Discussion Questions Week 3

(1999, pg.... 1), “A contract is an agreement between parties, with terms and conditions that describe the agreement, that constitutes a legal obligation.... A valid contract typically requires the following four elements:” A meeting of the… between the parties is important because it is essential that each party fully understands what he or she is getting into with regards to the contract....
4 Pages (1000 words) Essay

A Match You Can Bargain On Discussion Questions

The assignment "A Match You Can Bargain On discussion Questions" states that Michael Dell was the ideal person to take over Dell because he was the original founder of the company.... Since he started the company, he has the ultimate vision of where the company should be going in the future....
1 Pages (250 words) Assignment

4 discussion questions

Telnet allowed remote text based communications (Pilgrim, 2010) between computers, which meant one person on a computer could remotely connect and work on a… This technology was successively replaced by FTP which allowed transfer of files over different platforms (Paluri).... With the advent of HTTP and SMTP, both these early protocols became readily obsolete. IPv4 protocol which is in use these days is also Running Head: WEEKLY DISCUSSIONS Weekly Discussions: A Brief Review Institute Weekly Discussions: A Brief Review A sea of priceless knowledge is gained in the interactive classes of “COURSE TITLE”....
1 Pages (250 words) Assignment

Discussion questions1-4

hellip; This implies that without DRM, there probably would be no way for these organizations or individuals to ensure that only the customers who discussion Questions 4) Question One: People or companies that create intellectual property have theright to offer it for sale in a form protected by their choice of Digital Rights Management (DRM) technology....
1 Pages (250 words) Essay

Disscussion Question 1 Week 3

It is for this reason government bodies dealing with corporate affairs are keen in developing small business ventures.... In the United States, this… The SBA is the source of the majority financial support small businesses in Unites States enjoys (Bruchey, 2003).... The body also helps small businesses develop good financial programs....
1 Pages (250 words) Assignment

Discussion Questions #3 and #4

Commercial sex workers are seen in the world's big cities and towns as they struggle discussion Questions #3 and #4 and number) submitted) Current Environmental ControversyThe contemporary environmental controversy is an avalanche of social, economic, aesthetics and ethical issues....
1 Pages (250 words) Personal Statement

Chapter 3 disscussion question

Ethnography is conducted over a long duration and tends to provide in-depth findings of the subject and is, therefore, suitable for investigating… Ethnography also relies on observations by the researcher and not on pre-determined questions and can, therefore, explore a lot of information....
1 Pages (250 words) Coursework
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us