1.4 Programming Languages
What is an example of machine language?
10010101
Perl
A general-purpose programming language used widely on Internet servers.
PHP (Hypertext Preprocessor)
A programming language used primarily for developing Web server applications and dynamic Web pages.
algorithm
An algorithm is a set of well-defined steps for performing a task or solving a problem.
C+ +
Based on the C language, C++ offers object-oriented features not found in C. C++ was also invented at Bell Laboratories.
BASIC
Beginners All-purpose Symbolic Instruction Code is a general-purpose, procedural programming language. It was originally designed to be simple enough for beginners to learn.
C
C is a structured, general-purpose, procedural language developed at Bell Laboratories.
COBOL
Common Business-Oriented Language is a procedural language designed for business applications.
FORTRAN
FORmula TRANslator is a procedural language designed for programming complex mathematical algorithms.
Which statement is NOT true:
False-Machine languages can be used to write programs that can run on any machine. True-Machine languages can be used to express algorithms. True-Machine language consists of zeros and ones. True-Machine language is produced by compilers.
The effectiveness of Java was first demonstrated at the 1995 SunWorld conference in a(n) _______.
Internet browser
Java
Java Java is an object-oriented language invented at Sun Microsystems, and is now owned by Oracle. It may be used to develop stand-alone applications that operate on a single computer, or applications that run over the Internet from a Web server.
JavaScript
JavaScript is a programming language that can be used in a Web site to perform simple operations. Despite its name, JavaScript is not related to Java.
What is the best description of the Java programming language?
Oracle-owned object-oriented programming language used for stand-alone or web-based applications
Pascal
Pascal is a structured, general-purpose, procedural language designed primarily for teaching programming.
C#
Pronounced "C sharp." It is a language invented by Microsoft for developing applications based on the Microsoft .NET platform.
Python
Python is an object-oriented programming language used in both business and academia. Many popular Web sites contain features developed in Python.
Ruby
Ruby is a simple but powerful object-oriented programming language. It can be used for a variety of purposes, from small utility programs to large Web applications.
Visual Basic
Visual Basic is a Microsoft programming language and software development environment that allows programmers to create Windows-based applications quickly.
A(n) ______ is a set of well-defined steps for performing a task or solving a problem.
algorithm
Programming languages were invented to _______.
ease the task of programming
True or False: All CPUs use the same machine language to communicate.
false
computer program
is a set of instructions that enable the computer to solve a problem or perform a task.
A compiler
translates source code into executable code
James Gosling originally invented Oak, the predecessor of Java, to develop a _______ language that could be used to control a variety of consumer devices.
universal