Computer is just a dumb machine made up of different electronic components. It is like a box which cannot do anything by itself. It is the user who tells the computer “what it has to do?”
Why Programming?
If we need our computer to perform some task, we first have to teach the computer in detail “how it will accomplish ??
Why Programming? Programming is more about problem solving skills than writing the code itself.
•Programming teaches you how to understand, analyze and solve the problems. It enhances your analytical reasoning abilities and helps you cope with daily real life problems as well.
•Hence learning to program is important because it develops analytical and problem solving abilities.
Programming Language
12
•A programming language is an artificial language designed to communicate instructions to a computer.
Programming Language
A formal computer language that includes a controlled vocabulary and set of grammatical rules designed to instruct a computer how to perform specific tasks. Programming languages are used to create programs to control the behavior of a machine or to express algorithms. The description of a programming language is usually split into two components: syntax (form) and semantics (meaning).
•A programming language is a notation for writing
computer programming language, any of various languages for expressing a set of detailed instructions for a digital computer. Such instructions can be executed directly when they are in the computer manufacturer-specific numerical form known as machine language, after a simple substitution process when expressed in a corresponding assembly language, or after translation from some “higher-level” language. Although there are many computer languages, relatively few are widely used.
Language types
Machine and assembly languages
A machine language consists of the numeric codes for the operations that a particular computer can execute directly. The codes are strings of 0s and 1s, or binary digits (“bits”), which are frequently converted both from and to hexadecimal (base 16) for human viewing and modification. Machine language instructions typically use some bits to represent operations, such as addition, and some to represent operands, or perhaps the location of the next instruction. Machine language is difficult to read and write, since it does not resemble conventional mathematical notation or human language, and its codes vary from computer to computer.
Assembly language is one level above machine language. It uses short mnemonic codes for instructions and allows the programmer to introduce names for blocks of memory that hold data. One might thus write “add pay, total” instead of “0110101100101000” for an instruction that adds two numbers.
Algorithmic languages
Algorithmic languages are designed to express mathematical or symbolic computations. They can express algebraic operations in notation similar to mathematics and allows it.
Low level, High level and Middle level programming languages
,Bug and Debugging ,difference between compiler and interpreter,instructions and program,source code and object code ,language translators
C Programming Lecture 1 - Introduction to C.pptxMurali M
CENTURION UNIVERSITY OF TECHNOLOGY AND MANAGEMENT
ANDHRAPRADESH
SUBJECT NAME: (FULL NAME)
SUBJECT CODE: CUTM1046
MODULE NO:
S.No WRT
1 Explain in detail about intrinsic and extrinsic semiconductors with neat diagrams. 8
2 Explain about PN junction diode operation and draw V-I characteristics. 8
3 Derive PN junction diode current equation. 8
4 Explain about carrier concentration of fully injected light illumination on semiconductor bar and 8
5 What is hall effect ??, derive hall coefficient by drawing neat diagram and write the applications of it. 8
6 Explain about Zener diode and avalanche breakdown in detail. 8
7 Design all the logic gates using diodes and explain the operation with truth tables. 8
8 Draw half wave rectifier circuit, explain its operation and explain all the parameters of half wave rectifier. 8
9 Draw full wave rectifier circuit, explain its operation and explain all the parameters of full wave rectifier. 8
10 Draw energy band diagrams of PN junction diode and define diffusion length and life time of the carrier. 8
11 Explain about half wave rectifier 4
12 Explain about full wave rectifier 4
13 Explain PN junction characteristics 4
14 Explain about Light Emitting Diode 4
15 Explain Zener diode characteristics 4
16 i) Define ionic bond and covalent bond
ii) Explain intrinsic semiconductors 4
17 Explain about extrinsic semiconductor 4
18 Explain about hall effect in detail 4
19 Draw AND and OR logic gates using Diodes 4
20 Draw energy band diagram of PN junction diode. 4
Introduction to Computer.
Program and Programming.
Languages.
Types of Programming Languages.
Low-Level Languages.
Assembly languages.
High-Level Languages.
History of Programming.
Languages.
Translators.
Compiler.
Interpreter.
Typical C Program Development.
Environment
The C Programming Language
Characteristics of C language
durk computer,computer clan,jim's computer,chama computer,computer gk for,tiktok computer,gaming computer,kvs computer science full syllabus,chama computers,lil durk computer,trucchi computer,bhuture computer,computer science,patwari computer,computer security,computer for uppcl,
computer business basic computer
Characteristics of C language
Basic Program Structure in C
Language
Low level, High level and Middle level programming languages
,Bug and Debugging ,difference between compiler and interpreter,instructions and program,source code and object code ,language translators
C Programming Lecture 1 - Introduction to C.pptxMurali M
CENTURION UNIVERSITY OF TECHNOLOGY AND MANAGEMENT
ANDHRAPRADESH
SUBJECT NAME: (FULL NAME)
SUBJECT CODE: CUTM1046
MODULE NO:
S.No WRT
1 Explain in detail about intrinsic and extrinsic semiconductors with neat diagrams. 8
2 Explain about PN junction diode operation and draw V-I characteristics. 8
3 Derive PN junction diode current equation. 8
4 Explain about carrier concentration of fully injected light illumination on semiconductor bar and 8
5 What is hall effect ??, derive hall coefficient by drawing neat diagram and write the applications of it. 8
6 Explain about Zener diode and avalanche breakdown in detail. 8
7 Design all the logic gates using diodes and explain the operation with truth tables. 8
8 Draw half wave rectifier circuit, explain its operation and explain all the parameters of half wave rectifier. 8
9 Draw full wave rectifier circuit, explain its operation and explain all the parameters of full wave rectifier. 8
10 Draw energy band diagrams of PN junction diode and define diffusion length and life time of the carrier. 8
11 Explain about half wave rectifier 4
12 Explain about full wave rectifier 4
13 Explain PN junction characteristics 4
14 Explain about Light Emitting Diode 4
15 Explain Zener diode characteristics 4
16 i) Define ionic bond and covalent bond
ii) Explain intrinsic semiconductors 4
17 Explain about extrinsic semiconductor 4
18 Explain about hall effect in detail 4
19 Draw AND and OR logic gates using Diodes 4
20 Draw energy band diagram of PN junction diode. 4
Introduction to Computer.
Program and Programming.
Languages.
Types of Programming Languages.
Low-Level Languages.
Assembly languages.
High-Level Languages.
History of Programming.
Languages.
Translators.
Compiler.
Interpreter.
Typical C Program Development.
Environment
The C Programming Language
Characteristics of C language
durk computer,computer clan,jim's computer,chama computer,computer gk for,tiktok computer,gaming computer,kvs computer science full syllabus,chama computers,lil durk computer,trucchi computer,bhuture computer,computer science,patwari computer,computer security,computer for uppcl,
computer business basic computer
Characteristics of C language
Basic Program Structure in C
Language
Programming Fundamentals and Programming Languages Conceptsimtiazalijoono
Programming Fundamentals:
What is a Computer?
Software & Hardware?
Operating System
Programming Languages Concepts
Why do we need programming languages?
Why C Still Useful?
The PowerPoint presentation on programming languages provides an insightful overview of the fundamental concepts, types, and applications of programming languages. The presentation begins by introducing the concept of programming languages and their significance in software development and computer programming. It covers the major categories of programming languages, including procedural, object-oriented, functional, and scripting languages, discussing their characteristics, syntax, and primary use cases. The presentation highlights popular programming languages such as Python, Java, C++, and JavaScript, showcasing their strengths, ecosystems, and industry applications. It also touches upon emerging trends in programming languages, such as machine learning and data science-focused languages. The presentation equips the audience with a broad understanding of programming languages, enabling them to make informed decisions and choose the most suitable language for their development projects.
DISCLAIMER: This Presentation is made for educational purposes only.
Introduction to Computer Programming, Computer Language, History of Computer Language, Hierarchy of High-Level Languages, Algorithm, Data Types and Arduino
Programming Fundamentals and Programming Languages Conceptsimtiazalijoono
Programming Fundamentals:
What is a Computer?
Software & Hardware?
Operating System
Programming Languages Concepts
Why do we need programming languages?
Why C Still Useful?
The PowerPoint presentation on programming languages provides an insightful overview of the fundamental concepts, types, and applications of programming languages. The presentation begins by introducing the concept of programming languages and their significance in software development and computer programming. It covers the major categories of programming languages, including procedural, object-oriented, functional, and scripting languages, discussing their characteristics, syntax, and primary use cases. The presentation highlights popular programming languages such as Python, Java, C++, and JavaScript, showcasing their strengths, ecosystems, and industry applications. It also touches upon emerging trends in programming languages, such as machine learning and data science-focused languages. The presentation equips the audience with a broad understanding of programming languages, enabling them to make informed decisions and choose the most suitable language for their development projects.
DISCLAIMER: This Presentation is made for educational purposes only.
Introduction to Computer Programming, Computer Language, History of Computer Language, Hierarchy of High-Level Languages, Algorithm, Data Types and Arduino
Adjusting primitives for graph : SHORT REPORT / NOTESSubhajit Sahu
Graph algorithms, like PageRank Compressed Sparse Row (CSR) is an adjacency-list based graph representation that is
Multiply with different modes (map)
1. Performance of sequential execution based vs OpenMP based vector multiply.
2. Comparing various launch configs for CUDA based vector multiply.
Sum with different storage types (reduce)
1. Performance of vector element sum using float vs bfloat16 as the storage type.
Sum with different modes (reduce)
1. Performance of sequential execution based vs OpenMP based vector element sum.
2. Performance of memcpy vs in-place based CUDA based vector element sum.
3. Comparing various launch configs for CUDA based vector element sum (memcpy).
4. Comparing various launch configs for CUDA based vector element sum (in-place).
Sum with in-place strategies of CUDA mode (reduce)
1. Comparing various launch configs for CUDA based vector element sum (in-place).
Show drafts
volume_up
Empowering the Data Analytics Ecosystem: A Laser Focus on Value
The data analytics ecosystem thrives when every component functions at its peak, unlocking the true potential of data. Here's a laser focus on key areas for an empowered ecosystem:
1. Democratize Access, Not Data:
Granular Access Controls: Provide users with self-service tools tailored to their specific needs, preventing data overload and misuse.
Data Catalogs: Implement robust data catalogs for easy discovery and understanding of available data sources.
2. Foster Collaboration with Clear Roles:
Data Mesh Architecture: Break down data silos by creating a distributed data ownership model with clear ownership and responsibilities.
Collaborative Workspaces: Utilize interactive platforms where data scientists, analysts, and domain experts can work seamlessly together.
3. Leverage Advanced Analytics Strategically:
AI-powered Automation: Automate repetitive tasks like data cleaning and feature engineering, freeing up data talent for higher-level analysis.
Right-Tool Selection: Strategically choose the most effective advanced analytics techniques (e.g., AI, ML) based on specific business problems.
4. Prioritize Data Quality with Automation:
Automated Data Validation: Implement automated data quality checks to identify and rectify errors at the source, minimizing downstream issues.
Data Lineage Tracking: Track the flow of data throughout the ecosystem, ensuring transparency and facilitating root cause analysis for errors.
5. Cultivate a Data-Driven Mindset:
Metrics-Driven Performance Management: Align KPIs and performance metrics with data-driven insights to ensure actionable decision making.
Data Storytelling Workshops: Equip stakeholders with the skills to translate complex data findings into compelling narratives that drive action.
Benefits of a Precise Ecosystem:
Sharpened Focus: Precise access and clear roles ensure everyone works with the most relevant data, maximizing efficiency.
Actionable Insights: Strategic analytics and automated quality checks lead to more reliable and actionable data insights.
Continuous Improvement: Data-driven performance management fosters a culture of learning and continuous improvement.
Sustainable Growth: Empowered by data, organizations can make informed decisions to drive sustainable growth and innovation.
By focusing on these precise actions, organizations can create an empowered data analytics ecosystem that delivers real value by driving data-driven decisions and maximizing the return on their data investment.
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...John Andrews
SlideShare Description for "Chatty Kathy - UNC Bootcamp Final Project Presentation"
Title: Chatty Kathy: Enhancing Physical Activity Among Older Adults
Description:
Discover how Chatty Kathy, an innovative project developed at the UNC Bootcamp, aims to tackle the challenge of low physical activity among older adults. Our AI-driven solution uses peer interaction to boost and sustain exercise levels, significantly improving health outcomes. This presentation covers our problem statement, the rationale behind Chatty Kathy, synthetic data and persona creation, model performance metrics, a visual demonstration of the project, and potential future developments. Join us for an insightful Q&A session to explore the potential of this groundbreaking project.
Project Team: Jay Requarth, Jana Avery, John Andrews, Dr. Dick Davis II, Nee Buntoum, Nam Yeongjin & Mat Nicholas
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Subhajit Sahu
Abstract — Levelwise PageRank is an alternative method of PageRank computation which decomposes the input graph into a directed acyclic block-graph of strongly connected components, and processes them in topological order, one level at a time. This enables calculation for ranks in a distributed fashion without per-iteration communication, unlike the standard method where all vertices are processed in each iteration. It however comes with a precondition of the absence of dead ends in the input graph. Here, the native non-distributed performance of Levelwise PageRank was compared against Monolithic PageRank on a CPU as well as a GPU. To ensure a fair comparison, Monolithic PageRank was also performed on a graph where vertices were split by components. Results indicate that Levelwise PageRank is about as fast as Monolithic PageRank on the CPU, but quite a bit slower on the GPU. Slowdown on the GPU is likely caused by a large submission of small workloads, and expected to be non-issue when the computation is performed on massive graphs.
2. Why Programming?
2
• Computer is just a dumb machine made up of different electronic
components. It is like a box which cannot do anything by itself.
• It is the user who tells the computer “what it has to do?”
• If we need our computer to perform some task, we first have to teach
the computer in detail “how it will accomplish that task?”
• Once the computer is taught about a particular task, it will completely
obey it but cannot do anything that it is not taught to.
3. Why Programming?
3
• Like the humans, we can teach the computer through
communicating with it using a particular language.
• The language that computer understands is machine language,
also called as binary language. Machine language is the language
of 0s and 1s.
• We give detailed instructions to the computer to solve a
particular task. Programming is the term that refers to teaching,
instructing or giving commands to the computer.
4. Why Programming?
4
• Programming is more about problem solving skills than writing
the code itself.
• Programming teaches you how to understand, analyze and solve
the problems. It enhances your analytical reasoning abilities and
helps you cope with daily real life problems as well.
• Hence learning to program is important because it
develops analytical and problem solving abilities.
5. Why Programming?
5
• The person who gives the instructions (commands) to the
computer is known as the programmer.
• A person who designs and writes computer programs.
6. Why Programming?
6
• Programming is more about problem solving skills than writing
the code itself.
• Programming teaches you how to understand, analyze and solve
the problems. It enhances your analytical reasoning abilities and
helps you cope with daily real life problems as well.
• Hence learning to program is important because it
develops analytical and problem solving abilities.
7. Instruction
7
• Instruction is any command given to the computer.
• For example:
1) Add two variables A and B
2) Display result
3) Read file
• Each of these is the individual instruction to the computer.
9. Program
9
• Program is a set (collection) of instruction to do a meaningful
task.
• A sequence of instructions that are interpreted and executed by a
computer. It can be made of a single or hundred of instructions.
• For example: In order to teach the computer on how to calculate
average of three numbers? We need to give multiple instructions
to the computer to do the task.
10. Program
10
Instruction 1: Get first number from the user and store it in A variable
Instruction 2: Get second number from the user and store it in B variable
Instruction 3: Get third number from the user and store it in C variable
Instruction 4: Add A, B, C and store the result in SUM variable
Instruction 5: Divide SUM by 3 and store result in AVG variable
Instruction 6: Display AVG variable
• Instructions 1-6 are used to solve a single task. This collection of instruction
is known as a program.
12. Programming Language
12
• A programming language is an artificial language designed to
communicate instructions to a computer.
• A programming language is a notation for writing programs.
• A vocabulary and set of grammatical rules for instructing a computer to
perform specific tasks.
13. Programming Language
13
• Each language has a unique set of keywords (special words that it
understands) and a special syntax (format) for organizing program
instructions.
• There are many programming languages. For example:
• GW Basic
• C
• C++
• JAVA
• Pascal
• COBOL
• Python
• C#
14. Types of Programming Languages
14
• There are three types of programming languages:
16. Low-Level Languages
16
• A low level language is one which is closer to the machine (computer).
• It is easier for machines to understand and difficult for humans to
understand.
• It is faster in execution as compared to high and middle level languages.
18. Machine Language
18
• It is one of the low level language.
• It is the language of 0s and 1s.
• Machine languages are the only languages directly understood by the
computers.
• While easily understood by computers, machine languages are almost
impossible for humans to use because they consist entirely of numbers (0s
and 1s).
19. Machine Language
19
• It is the native language of the machines (computers).
• Here all the instructions are written as code of binary sequence. For
example:
• In order to do addition, the code is: 10010001
• In order to decrement a number by one, the code is: 11011011
• In order to move data from one place to another, the code is: 10000111
20. Machine Language
20
• There are hundreds of instructions and each instruction has a binary code.
• Is it possible to remember all the codes of hundreds of instruction?
• Obviously not! Hence machine language almost impossible to understand.
21. Machine Language
21
• Machine language program example:
10010010
11001010
01001010
11110101
00000101
00101000
11101010
10101010
22. Assembly Language
22
• Assembly language is same as machine language but uses English like words
to represent individual operations.
• For example: Instead of binary codes it uses : ADD, MOV, SUB, INC
• Assembly language is also a low-level language.
• It is easier than the machine language but still it is very difficult to control a
larger program using assembly.
23. Assembly Language
23
• As assembly language contains English like words, which will not be
understood by the computer (because it only understands 0s and 1s)
• A translator first converts the assembly language program into machine
language program.
• Translator used with assembly language is called Assembler.
26. High-Level Languages
26
• A high level language is one which is closer to the human (programmer).
• It is easier for humans to understand and difficult for machines to
understand.
• It is slower in execution as compared to low level languages.
27. High-Level Languages
27
• Like assembly language, it also uses English like words for the operations.
• For example: for
, if, else, break, continue, while, include, using,
import
• It is more easier than assembly language.
28. High-Level Languages
28
• Some of the high level programming languages are:
• GW Basic • COBOL • J#
• C++ • Python • Ruby
• JAVA • C# • PHP
• Pascal • Visual Basic
29. High-Level Languages
29
• High level language program example:
int main()
{
int a = 5;
int b = 6;
if(a > b)
cout<<“First number is greater.”;
else
cout<<“Second number is greater.”;
}
31. Middle-Level Languages
31
• A middle level language is one which is closer to machine (computer) as well
as to human (programmer).
• A language that has the features of both low level and high level languages.
• More formally, a high level language that allows you to write low level
programs in it is called as middle level language.
32. Middle-Level Languages
32
• Some of the middle level programming languages are:
• C
• IBM PL/S (Programming Language/Systems)
• BCPL (Basic Combined Programming Language)
• BLISS (Bill's Language for Implementing System Software)
33. Source Code and Object Code
33
Source Code
• The set of instructions written in
any language other than machine
language is called as source code.
• It is not directly understood by
the machine (computer).
Object Code
• The set of instructions written in
machine language is called as object
code. It is also known as machine
code.
• It is the only code which is directly
understood by the machine
(computer).
34. Source Code and Object Code
34
Source Code
• It is in the form of text.
• It is human readable.
• It is generated by human
(programmer).
• It is input to the language translator.
Object Code
• It is in the form of binary numbers.
• It is machine (computer) readable.
• It is generated by the language
translator.
• It is the output of the language
translator.
36. Language Translators
36
• Language translator is a program that converts the source code in to the
object code.
Source Code Object Code
CONVERT
Language Translator
Translator
37. Why Language Translators?
37
• Computer only understands object code (machine code).
• It does not understand any source code.
• There must be a program that converts source code in to the object code so
that the computer can understand it.
• The language translator is one which does this job.
• The programmer writes the source code and then translator converts it in
machine readable format (object code).
38. Types of Language Translators
38
• There are three types of language translator:
39. Assembler
39
• Assembler is the language translator that converts assembly language code
in to the object code (machine code).
Assembly
Source
Code
Object Code
CONVERT
Assembler
40. Compiler
40
• Compiler is the language translator that converts high level language code in
to the object code (machine code).
• It converts the whole code at a time.
High-Level
Source
Code
Object Code
CONVERT
Compiler
41. Compiler
Ali Asghar Manjotho, LecturerCSE-MUET 41
Line 1 : Instruction1
Line 2 : Instruction 2
Line 3 : Instruction 3
Line 4 : Instruction 4
Line 5 : Instruction 5
Program
Line 1 : Instruction1
Line 2 : Instruction 2
Line 3 : Instruction 3
Line 4 : Instruction 4
Line 5 : Instruction 5
Read whole Program
Convert whole
program in to object
code
Execute
1 2 3 4
42. Interpreter
42
• Interpreter is the language translator that converts high level language code
in to the object code (machine code).
• It converts the code line by line.
High-Level
Source
Code
Object Code
CONVERT
Interpreter
43. Interpreter
43
Line 1 : Instruction1
Line 2 : Instruction 2
Line 3 : Instruction 3
Line 4 : Instruction 4
Line 5 : Instruction5
Program
1
Read Line 1
Read Line 2
Read Line 3
Read Line 4
Read Line 5
Convert in to object code
Convert in to object code
Convert in to object code
Convert in to object code
Convert in to object code
Execute
Execute
Execute
Execute 2
Execute 3
4
5
6
44. Difference between Compiler and Interpreter
• Compiler
• It converts whole code at a time.
• It is faster.
• Requires more memory.
• Errors are displayed after entire
program is checked.
• Example: C, C++, JAVA.
• Interpreter
• It converts the code line by line.
• It is slower.
• Requires less memory.
• Errors are displayed for everyinstruction
• interpreted (if any).
• Example: GW BASIC, Ruby,Python
44
46. Bug
46
• An error or defect occurred inside a computer program or hardware that
causes it to produce an incorrect or unexpected result, or to behave in
unintended ways is called as a bug.
• Most of the bugs arise from mistakes and errors made by programmer in
source code.
• The term bug was used by Grace Hopper in 1946.
• Hopper used to work on Mark II computer, there some error occurred in the
system. The cause of the error was a moth (bug) trapped in a relay creating
short circuit.
• That caused the term bug to be coined.
48. Debugging
• It is the process of finding and fixing the bugs (errors) in the
program.
• It is the process of removing errors.
• The programmer manually does this by examining the source code.
48