Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

DEPARTMENT OF COMPUTER STUDIES

(COMPUTER PROGRAMMING)

ACTIVITY

1
INTRODUCTION TO PROGRAMMING

Student Name / Group


Name:
Name Role
Cale Panidar
Members (if Group):

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.

II. COURSE LEARNING OUTCOME/S (CLO) ADDRESSED BY THE LABORATORY EXERCISE


 Understand and apply best practices and standards in the development of programs.
III. INTENDED LEARNING OUTCOME/S (ILO) OF THE LABORATORY EXERCISE
At the end of this exercise, students must be able to:
 Familiarize various Programming Languages
 The basic understanding before using programming
 Familiarize in environment of program developing
 Differentiate low level and high-level programming languages
 Know what is Assembly language
 Differentiate the procedural programming

IV. QUESTION

1. What is PL? give at least 5 examples of PL and Discuss


2. Syntax of programming languages and give examples
3. List and describe low level and high-level programming languages (give at least 2 examples)
4. What is Assembly language.
5. Differentiate the procedural programming to Object Oriented Programming.

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.

Applications Development and Emerging Technologies Page 2 of 4


JavaScript - This is the world's most popular programming language. Coders mainly use it on the world wide
web to create web interfaces or websites. It can be an easy-to-learn language. Programmers may classify
JavaScript as a high-level language, multi-paradigm, and just in time compiled. It features dynamic typing,
first-class functions, and prototype-based object orientation. JavaScript can be a significant enabler of
website interactivity and richness. While HTML builds the foundation for websites, JavaScript drives the
websites. JavaScript has a famous library called JQuery used by most websites.

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() {

printf( “My first line of code” );

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.

Applications Development and Emerging Technologies Page 3 of 4


4. An assembly language is a type of low-level programming language that is intended to communicate directly
with a computer's hardware. Unlike machine language, which consists of binary and hexadecimal
characters, assembly languages are designed to be readable by human

5. In procedural programming, program is divided into small parts called functions. In object oriented
programming, program is divided into small parts called objects

Applications Development and Emerging Technologies Page 4 of 4

You might also like