Professional Documents
Culture Documents
Activity 1
Activity 1
(COMPUTER PROGRAMMING)
ACTIVITY
1
INTRODUCTION TO PROGRAMMING
DB12
Section:
John Ivan Maurat
Professor:
I. PROGRAM OUTCOME/S (PO) ADDRESSED BY THE LABORATORY EXERCISE
Design, implement and evaluate computer-based systems or applications to meet desired needs and
requirements.
IV. QUESTION
V. ANSWER
1. Python - This is a high-level, all-purpose language with a strong emphasis on readable code. It's one of the
most widely used starting languages due to its simplicity, scope, vibrant community, and flexibility of use. It
can be used by programmers for functional, structured, or object-oriented activities. The extensive standard
library of Python has given it the nickname "batteries included."
Java - Java is primarily used by programmers to create the back-end interfaces for web applications or
general-purpose APIs that are improved by frameworks like Spring and Dropwizard. Java has a steeper
learning curve than JavaScript because it is a tightly typed language. The complexity of Java is a benefit
that contributes to its superior performance. Java uses concurrent multi-threaded work to enforce its
performance. JavaScript only employs one thread at a time.
C and C++ - Low-level languages include C. In other words, it necessitates that the programmer
comprehends the underlying computer hardware. The specifics of computers have been abstracted by high-
level languages. For instance, if you're programming in a low-level language, your software can handle
memory management directly in the code. Higher level programming languages typically automate the
computer's memory management operation. C makes up for its low level by performing better than other
simple-to-learn languages. While performance may not be a major concern for a social media app, it is a
major factor for gaming apps, software used for special effects in movies, and some operating systems.
SLQ - Data is accessed using SQL, or Structured Query Language. Computers send SQL data queries to a
server, which provides the desired data in response. Within a database, SQL enables you to retrieve, insert,
update, delete, and create data. SQL comes in a wide variety, and they all share a number of
characteristics. These commonalities are enforced by the ANSI standard requirement that the variants have
important commands like where, select, and delete.
2. Basic syntax represents the fundamental rules of a programming language. Without these rules, it is
impossible to write functioning code. Every language has its own set of rules that make up its basic syntax.
Naming conventions are a primary component of basic syntax conventions and vary by language.
C syntax
#include
int main() {
3. Both High level language and low level language are the programming languages types. The main
difference between high level language and low level language is that, Programmers can easily understand
or interpret or compile the high level language in comparison of machine. On the other hand, Machine can
easily understand the low level language in comparison of human beings. Examples of high level languages
are Visual Basic, C++, Java, Python, etc. Assembly language and machine language are two examples of
low-level programming languages.
5. In procedural programming, program is divided into small parts called functions. In object oriented
programming, program is divided into small parts called objects