Computer Exam Review
Most programming languages are now presented within an ____. Integrated Development Environment
A high-level language program is called a(n) ____ program. Source
Programming statements in a low-level language will be close to natural language and will use standard mathematical notation. False
After we normalize a number, its first significant digit is immediately to the left of the binary point. False
“Print the value of product” is an example of a(n) ____ operation Output
In early programming languages, conserving machine resources was not an issue. False
A ____ involves developing a clear, concise, and unambiguous statement of the exact problem the software is to solve. problem specification
…show more content…
Input
Machine language is also known as ____ code. Object
The two parts of a “while” statement are known as the loop head and the loop body. False
A(n) ____ definition defines a nonterminal symbol in terms of itself recursive
A stark black/white image has greater storage requirements than an image represented using a gray scale. False
Having an infinite loop in an algorithm is an error. True
The outputs in the full adder are the sum digit and the new ____ digit. Carry
The two digits, ____, are frequently referred to as bits. 0 and 1
Analog signals must first be digitized to be stored in the computer. True
A purely ____ algorithm is sometimes termed a straight-line algorithm. sequential
In assembly language, the programmer must take a microscopic view of a task, breaking it down into tiny subtasks at the level of what is going on in individual _ memory locations is the rules for exactly how statements must be written in a programming language. Syntax
To create a loop that executes exactly b times, we create a ____. Counter
One of the most powerful features of a computer is its ability to handle loops. True
The object code for a task that needs to be performed often can be stored in a(n) _ code library is where the compiler polishes and fine-tunes the translation so that it runs a little faster or occupies a little less memory. Optimization
Pattern matching can only
CCSS.MATH.CONTENT. 4.NBT.B.5 Multiply a whole number of up to four digits by a one-digit whole number, and multiply two two-digit numbers, using strategies based on place value and the properties of operations. Illustrate and explain the calculation by using equations, rectangular arrays, and/or area models.
Overflow occurs when the two numbers of similar signs are added together and a result with an opposite sign is produced.
3.1 Using the program shown in Figure 3.30 explain what the output will be at Line A.
The objective of this lab is to be able to understand how the CPU functions work, as well as understanding machine and assembly language.
b. Declare and initialize an int variable temp to 10 and a char variable ch to 'A'.
An assembly language is a low-level programming language for a computer, microcontroller, or other programmable device, in which each statement corresponds to a single machine code instruction. Each assembly language is specific to a particular computer architecture, in contrast to most high-level programming languages, which are generally portable across multiple systems.
Well, it is the first week of the class and I haven’t done so much yet, but for this class, I have conducted an internet search to find out about a compiled programming language. After conducting the search, I picked C++ and compared it with Python. And used the information to post on discussion board as required by our instructor.
b. Declare and initialize an int variable temp to 10 and a char variable ch to 'A'.
Object-oriented programming at its core is a practice of strategic thinking. Essentially, in OOP we tend to focus on objects rather than "actions" and data rather than logic. A key step in OOP is identifying the objects one wants to manipulate and observing how they relate to each other. The basic idea of OOP involves breaking up the code into objects that can message each other, which proves to be very beneficial. To better understand and use object-oriented programming as intended, I decided to investigate two different languages that implement the object-oriented approach to programming. I chose Java because I am already familiar with the syntax and its
2) Of the following if statements, which one correctly executes three instructions if the condition is true?
Programming Languages are important part of some peoples’ life, but not all of programming languages are needed to learn. In these days, programming languages very popular in the world, but still have their specializations, and each language has its own advantages and disadvantages. We can discuss comparison of programming languages in this project.
Procedural programming uses a list of instruction to tell the computer what to do step by step. It relies on procedures, routines and sub-routine. The procedural contents of capitation of steps to be carry
Object-oriented programming is a programming paradigm based on the concept of objects rather than algorithms, this may contain data in the form of fields. it aims to incorporate the advantages of modularity and
The similarity between such modern languages as Pascal and Modula-2 and Algol proves it influential to the programming community, even today. Algol also introduced the concept of “free-format,” a concept that allows programmers to arrange the code any way they want (assuming the syntax is correct) (Parsons). This concept proves itself useful today in making source code easier to read and eliminating the problem of “spaghetti code” (code written in an unreadable fashion, or strung together as spaghetti is).
Numerous amounts of companies and individuals write code to make large and small projects more efficient and easier to fathom. In 2014, Nimrod became a new systems programming language. Nimrod, a new language with a high metaprogramming support, which is programming, but its basically writing code that writes code. Also generics and exception tracking built in, with optional garbage collection. Nimrod is compatible to compile with C, C++, Objective-C, or Java Script. “Generic programming is a style of computer programming is which algorithms are written in terms of to-be-specified-later that are the instantiated when needed for specific types provided as parameters”. In other words, it is occupying or reusing an algorithm and changing its implementations. Garbage collection is an automatic memory management and heap allocation that developments and distinguishes dormant memory block and reallocates storage for recycle. The initial job of garbage collection is to reduce or eliminate memory lost. This will create more memory; thus, running the program more efficient. Nimrod is competing with the top computer language in the world, C programming being the main rival.