Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CSE 240 Final Review With 100% Correct Answers

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
01-05-2024
Written in
2023/2024

Logic - ANSWER - based on formal logic and includes logic predicates for computation Functional - ANSWER - use of mathematical functions (based on Lambda Calculus) to express computation, simpler because of use of expressions Procedural/Imperative - ANSWER - processing actions one step at a time using variables and conditional statements Object Oriented - ANSWER - based on concept of objects and classes, pillars of OOP (Encapsulation, Abstraction, Inheritance and Polymorphism) Example of Logic Paradigm - ANSWER - Prolog Example of Functional Paradigm - ANSWER - Lisp Example of Procedural/Imperative Paradigm - ANSWER - C/C++ Example of Object Oriented Paradigm - ANSWER - Java, C++ Strongly typed langauges - ANSWER - Java, C++ Weakly typed languages - ANSWER - Prolog Compilation Stage - ANSWER - converts the code into machine code (creates an exe) before the program runs Interpretation Stage - ANSWER - converts code into machine code while the code is running How compiler works - ANSWER - source code - compiler - machine code - output How interpreter works - ANSWER - source code - interpreter - output Example of semantic error - ANSWER - Forgetting to divide by 100 when printing a percentage amount Example of semantic error - ANSWER - parameters not matching in function declaration and function call Semantic Errors - ANSWER - meaning error; things that don't make sense but do not violate lexical or syntactic rules Lexical Errors - ANSWER - tokens; spelling errors; variable names that start with numbers, numbers that have more than one decimal point, etc. Syntactic Errors - ANSWER - things that are supposed to follow but do not follow; grammar errors in a sentence Size of int - ANSWER - 4 bytes Size of array of ints - ANSWER - 4 * number of indices in array declaration

Show more Read less
Institution
CSE 240
Course
CSE 240








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CSE 240
Course
CSE 240

Document information

Uploaded on
May 1, 2024
Number of pages
3
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.19
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Thumbnail
Package deal
Package deal for CSE 240 Exam Questions with 100% Correct Answers | Verified
-
3 2024
$ 30.97 More info

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Wisdoms Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
663
Member since
2 year
Number of followers
62
Documents
6727
Last sold
9 hours ago
REALITIEXAM:

I am a leader in online test prep. I take great pride in our tests and their ability to help you pass your exams. feel free to contact :

4.5

299 reviews

5
228
4
35
3
14
2
9
1
13

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions