SlideShare a Scribd company logo
Summary on Javascript coding

Document.write produces a message in a
program, what is within the quotation marks
will be displayed in the program for example-
(“ the total marks are”)
Summary on Javascript coding

Variables can be defined with a name, any
name you choose for example... var
maroon_5

Variable names are case-sensitive and should
only begin with a letter/underscore. Var 6num
would not work.

Variables can not include spaces
Summary on Javascript coding

ParseInt is used in coding to assign a variable
to be recognised by the program. For example
if you see numb=parseInt(numb) then this
means that var numb will be a number you
enter into the program.
Summary on Javascript coding

Mathematical operators are used to make
the program perform an equation on numerical
data.

*, %, -, /, + are examples of operators.
Summary on Javascript coding

Prompt is used to make the program allow
the user to enter data.

Anything included in the quotation marks will
displayed in the program. For example- var
numb= prompt(“ enter a number here”);
Summary on Javascript coding

Other Mathematical operators
== (is equal to)
< (is less than)
> (is more than)
<= (is less than equal to)
!= (is not equal to)
>= (is greater than equal to)
Summary on Javascript coding

The if statement allows the program to
provide more than one output

If is always followed with { and } clauses

Can include an else to add additonal outputs
based on the data for example-
if( marks>3)
{
document.write (“yes”)
}
else
{
Document.write (“no”)
Coding activity
Instructions-
Choose one of the code statements in each slide
and copy into notepad to build a program
Write a program to present the Grade for marks of a
test
A) <html>
<body>
<script type="text/javascript">
b)<html>
<script ="text/javascript">
c)<html>
<body>
<script type="javascript">
Grade for marks of a test
A)var marks = prompt(enter the marks of test)
marks=parseInt(result);
b)var marks = prompt("enter the marks of test","");
marks=parseInt(marks);
c)var result = ("enter the marks of test","");
totalmarks=parseInt(marks);
Grade for marks of a test
A)if else(marks==60)
{
document.write("grade is a");
b)if(marks>=60)
{
Documentwrite=("grade is a");
c)if(marks>=60)
{
document.write("grade is a");
Grade for marks of a test
A) }
Else = (marks >=45)
{
document.write("grade is b");
b) }
else if (marks =45)
{
document.write("grade is b");
c) }
else if (marks >=45)
{
document.write("grade is b");
Grade for marks of a test
A) }
else if (marks >=30)
{
document.write("grade is c");
b) }
else if (marks >=30)
document.write("grade is c")
c) {
else if (marks >=30)
{
document.write("grade is c");
Grade for marks of a test
A) }
else
{
document.write("grade is f");
}
b)
else
{
document.write("grade is f");
}
c) }
else
Grade for marks of a test
A)<script>
</body>
</html>
b)
</body>
</html>
c)
</html>

More Related Content

What's hot

CLASS VIII COMPUTERS FLOW CHART AND ALGORITHM
CLASS VIII COMPUTERS FLOW CHART AND ALGORITHMCLASS VIII COMPUTERS FLOW CHART AND ALGORITHM
CLASS VIII COMPUTERS FLOW CHART AND ALGORITHM
Rc Os
 
csharp repitition structures
csharp repitition structurescsharp repitition structures
csharp repitition structures
Micheal Ogundero
 
Ppt lesson 06
Ppt lesson 06Ppt lesson 06
Ppt lesson 06
Linda Bodrie
 
Android tutorials7 calulator_improve
Android tutorials7 calulator_improveAndroid tutorials7 calulator_improve
Android tutorials7 calulator_improve
Vlad Kolesnyk
 
Csc 130 class 2 problem analysis and flow charts(2)
Csc 130 class 2   problem analysis and flow charts(2)Csc 130 class 2   problem analysis and flow charts(2)
Csc 130 class 2 problem analysis and flow charts(2)
Puneet narula
 
Introduction to basic programming repetition
Introduction to basic programming repetitionIntroduction to basic programming repetition
Introduction to basic programming repetition
Jordan Delacruz
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Sachin Goyani
 
Flowchart and algorithem
Flowchart and algorithemFlowchart and algorithem
Flowchart and algorithem
ehsanullah786
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
DHANIK VIKRANT
 
Grade 10 flowcharting
Grade 10  flowchartingGrade 10  flowcharting
Grade 10 flowcharting
Rafael Balderosa
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowcharts
Samuel Igbanogu
 
A simple program C# program
A simple program C# programA simple program C# program
A simple program C# program
Micheal Ogundero
 
selection structures
selection structuresselection structures
selection structures
Micheal Ogundero
 
Flowchart
FlowchartFlowchart
Flowchart
Gautam Roy
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Rabin BK
 
Pseudocode
PseudocodePseudocode
Pseudocode
Harsha Madushanka
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
Zeinna Belle Desamito
 
8.1 alogorithm & prolem solving
8.1 alogorithm & prolem solving8.1 alogorithm & prolem solving
8.1 alogorithm & prolem solving
Khan Yousafzai
 
algo
algoalgo
algo
Rao Khan
 

What's hot (19)

CLASS VIII COMPUTERS FLOW CHART AND ALGORITHM
CLASS VIII COMPUTERS FLOW CHART AND ALGORITHMCLASS VIII COMPUTERS FLOW CHART AND ALGORITHM
CLASS VIII COMPUTERS FLOW CHART AND ALGORITHM
 
csharp repitition structures
csharp repitition structurescsharp repitition structures
csharp repitition structures
 
Ppt lesson 06
Ppt lesson 06Ppt lesson 06
Ppt lesson 06
 
Android tutorials7 calulator_improve
Android tutorials7 calulator_improveAndroid tutorials7 calulator_improve
Android tutorials7 calulator_improve
 
Csc 130 class 2 problem analysis and flow charts(2)
Csc 130 class 2   problem analysis and flow charts(2)Csc 130 class 2   problem analysis and flow charts(2)
Csc 130 class 2 problem analysis and flow charts(2)
 
Introduction to basic programming repetition
Introduction to basic programming repetitionIntroduction to basic programming repetition
Introduction to basic programming repetition
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Flowchart and algorithem
Flowchart and algorithemFlowchart and algorithem
Flowchart and algorithem
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
 
Grade 10 flowcharting
Grade 10  flowchartingGrade 10  flowcharting
Grade 10 flowcharting
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowcharts
 
A simple program C# program
A simple program C# programA simple program C# program
A simple program C# program
 
selection structures
selection structuresselection structures
selection structures
 
Flowchart
FlowchartFlowchart
Flowchart
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Pseudocode
PseudocodePseudocode
Pseudocode
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
 
8.1 alogorithm & prolem solving
8.1 alogorithm & prolem solving8.1 alogorithm & prolem solving
8.1 alogorithm & prolem solving
 
algo
algoalgo
algo
 

Viewers also liked

Flipping the classroom power point
Flipping the classroom power pointFlipping the classroom power point
Flipping the classroom power point
T. Schmidt
 
Practice and debugging
Practice and debuggingPractice and debugging
Practice and debugging
Max Friel
 
Project 1
Project 1Project 1
Project 1
Max Friel
 
Lesson 4 maya 3
Lesson 4 maya 3Lesson 4 maya 3
Lesson 4 maya 3
Max Friel
 
Loops
LoopsLoops
Loops
Max Friel
 
Student showcase part two
Student showcase part twoStudent showcase part two
Student showcase part two
Max Friel
 
Kpp se jakrta
Kpp se jakrtaKpp se jakrta
Kpp se jakrta
Mutiara Marganita
 
Tugas revenue 2
Tugas revenue   2Tugas revenue   2
Tugas revenue 2
Mutiara Marganita
 
lesson plan 1 maya 3
lesson plan 1 maya 3lesson plan 1 maya 3
lesson plan 1 maya 3
Max Friel
 
Untitled 2
Untitled 2Untitled 2
Untitled 2
Max Friel
 
CSMB Summer Orientation Newsletter 2014
CSMB Summer Orientation Newsletter 2014CSMB Summer Orientation Newsletter 2014
CSMB Summer Orientation Newsletter 2014
Chip Clatto
 
Phishing
PhishingPhishing
Phishing
Max Friel
 
Refresher
RefresherRefresher
Refresher
Max Friel
 
Flipping the Classroom 2014
Flipping the Classroom 2014Flipping the Classroom 2014
Flipping the Classroom 2014
T. Schmidt
 
Lesson plan 2 mattaya 4
Lesson plan 2 mattaya 4Lesson plan 2 mattaya 4
Lesson plan 2 mattaya 4
Max Friel
 
Edmodo Scavenger Hunt
Edmodo Scavenger HuntEdmodo Scavenger Hunt
Edmodo Scavenger Hunt
T. Schmidt
 
Lesson one
Lesson oneLesson one
Lesson one
Max Friel
 
Plan 3 maya 3
Plan 3 maya 3Plan 3 maya 3
Plan 3 maya 3
Max Friel
 
1 j tugas makalah pie kelompok 7
1 j tugas makalah pie kelompok 71 j tugas makalah pie kelompok 7
1 j tugas makalah pie kelompok 7Mutiara Marganita
 

Viewers also liked (19)

Flipping the classroom power point
Flipping the classroom power pointFlipping the classroom power point
Flipping the classroom power point
 
Practice and debugging
Practice and debuggingPractice and debugging
Practice and debugging
 
Project 1
Project 1Project 1
Project 1
 
Lesson 4 maya 3
Lesson 4 maya 3Lesson 4 maya 3
Lesson 4 maya 3
 
Loops
LoopsLoops
Loops
 
Student showcase part two
Student showcase part twoStudent showcase part two
Student showcase part two
 
Kpp se jakrta
Kpp se jakrtaKpp se jakrta
Kpp se jakrta
 
Tugas revenue 2
Tugas revenue   2Tugas revenue   2
Tugas revenue 2
 
lesson plan 1 maya 3
lesson plan 1 maya 3lesson plan 1 maya 3
lesson plan 1 maya 3
 
Untitled 2
Untitled 2Untitled 2
Untitled 2
 
CSMB Summer Orientation Newsletter 2014
CSMB Summer Orientation Newsletter 2014CSMB Summer Orientation Newsletter 2014
CSMB Summer Orientation Newsletter 2014
 
Phishing
PhishingPhishing
Phishing
 
Refresher
RefresherRefresher
Refresher
 
Flipping the Classroom 2014
Flipping the Classroom 2014Flipping the Classroom 2014
Flipping the Classroom 2014
 
Lesson plan 2 mattaya 4
Lesson plan 2 mattaya 4Lesson plan 2 mattaya 4
Lesson plan 2 mattaya 4
 
Edmodo Scavenger Hunt
Edmodo Scavenger HuntEdmodo Scavenger Hunt
Edmodo Scavenger Hunt
 
Lesson one
Lesson oneLesson one
Lesson one
 
Plan 3 maya 3
Plan 3 maya 3Plan 3 maya 3
Plan 3 maya 3
 
1 j tugas makalah pie kelompok 7
1 j tugas makalah pie kelompok 71 j tugas makalah pie kelompok 7
1 j tugas makalah pie kelompok 7
 

Similar to Coding task new

Client sidescripting javascript
Client sidescripting javascriptClient sidescripting javascript
Client sidescripting javascript
Selvin Josy Bai Somu
 
Ch3- Java Script.pdf
Ch3- Java Script.pdfCh3- Java Script.pdf
Ch3- Java Script.pdf
HASENSEID
 
Activity lesson
Activity lessonActivity lesson
Activity lesson
Max Friel
 
Iwt note(module 2)
Iwt note(module 2)Iwt note(module 2)
Iwt note(module 2)
SANTOSH RATH
 
3. Java Script
3. Java Script3. Java Script
3. Java Script
Jalpesh Vasa
 
C decision making and looping.
C decision making and looping.C decision making and looping.
C decision making and looping.
Haard Shah
 
Matlab Basic Tutorial
Matlab Basic TutorialMatlab Basic Tutorial
Matlab Basic Tutorial
Muhammad Rizwan
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
Trivuz ত্রিভুজ
 
Web programming
Web programmingWeb programming
Web programming
Leo Mark Villar
 
Hello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdfHello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdf
namarta88
 
Introduction to programming c and data-structures
Introduction to programming c and data-structures Introduction to programming c and data-structures
Introduction to programming c and data-structures
Pradipta Mishra
 
C programming
C programmingC programming
C programming
PralhadKhanal1
 
maXbox Starter 36 Software Testing
maXbox Starter 36 Software TestingmaXbox Starter 36 Software Testing
maXbox Starter 36 Software Testing
Max Kleiner
 
Operators in C Programming
Operators in C ProgrammingOperators in C Programming
Operators in C Programming
programming9
 
Introduction to programming c and data structures
Introduction to programming c and data structuresIntroduction to programming c and data structures
Introduction to programming c and data structures
Pradipta Mishra
 
AlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfAlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdf
SusieMaestre1
 
Ppt lesson 06
Ppt lesson 06Ppt lesson 06
Ppt lesson 06
Linda Bodrie
 
Ppt lesson 06
Ppt lesson 06Ppt lesson 06
Ppt lesson 06
Linda Bodrie
 
Introduction to Basic C programming 01
Introduction to Basic C programming 01Introduction to Basic C programming 01
Introduction to Basic C programming 01
Wingston
 
Introduction to JavaScript Programming
Introduction to JavaScript ProgrammingIntroduction to JavaScript Programming
Introduction to JavaScript Programming
Raveendra R
 

Similar to Coding task new (20)

Client sidescripting javascript
Client sidescripting javascriptClient sidescripting javascript
Client sidescripting javascript
 
Ch3- Java Script.pdf
Ch3- Java Script.pdfCh3- Java Script.pdf
Ch3- Java Script.pdf
 
Activity lesson
Activity lessonActivity lesson
Activity lesson
 
Iwt note(module 2)
Iwt note(module 2)Iwt note(module 2)
Iwt note(module 2)
 
3. Java Script
3. Java Script3. Java Script
3. Java Script
 
C decision making and looping.
C decision making and looping.C decision making and looping.
C decision making and looping.
 
Matlab Basic Tutorial
Matlab Basic TutorialMatlab Basic Tutorial
Matlab Basic Tutorial
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Web programming
Web programmingWeb programming
Web programming
 
Hello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdfHello, I need help with the following assignmentThis assignment w.pdf
Hello, I need help with the following assignmentThis assignment w.pdf
 
Introduction to programming c and data-structures
Introduction to programming c and data-structures Introduction to programming c and data-structures
Introduction to programming c and data-structures
 
C programming
C programmingC programming
C programming
 
maXbox Starter 36 Software Testing
maXbox Starter 36 Software TestingmaXbox Starter 36 Software Testing
maXbox Starter 36 Software Testing
 
Operators in C Programming
Operators in C ProgrammingOperators in C Programming
Operators in C Programming
 
Introduction to programming c and data structures
Introduction to programming c and data structuresIntroduction to programming c and data structures
Introduction to programming c and data structures
 
AlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfAlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdf
 
Ppt lesson 06
Ppt lesson 06Ppt lesson 06
Ppt lesson 06
 
Ppt lesson 06
Ppt lesson 06Ppt lesson 06
Ppt lesson 06
 
Introduction to Basic C programming 01
Introduction to Basic C programming 01Introduction to Basic C programming 01
Introduction to Basic C programming 01
 
Introduction to JavaScript Programming
Introduction to JavaScript ProgrammingIntroduction to JavaScript Programming
Introduction to JavaScript Programming
 

More from Max Friel

Assum 4
Assum 4Assum 4
Assum 4
Max Friel
 
Assum 3
Assum 3Assum 3
Assum 3
Max Friel
 
Tourism
TourismTourism
Tourism
Max Friel
 
Practice programs
Practice programsPractice programs
Practice programs
Max Friel
 
Debugging
DebuggingDebugging
Debugging
Max Friel
 
Strings
StringsStrings
Strings
Max Friel
 
Loops
LoopsLoops
Loops
Max Friel
 
If conditions
If conditionsIf conditions
If conditions
Max Friel
 
Keywords used in javascript
Keywords used in javascriptKeywords used in javascript
Keywords used in javascript
Max Friel
 
Variables
VariablesVariables
Variables
Max Friel
 
Basics
BasicsBasics
Basics
Max Friel
 
Developing html skills 1
Developing html skills 1Developing html skills 1
Developing html skills 1
Max Friel
 
Matching game
Matching gameMatching game
Matching game
Max Friel
 
activity flowcharts
activity flowchartsactivity flowcharts
activity flowcharts
Max Friel
 
Summer course
Summer courseSummer course
Summer course
Max Friel
 
Law
LawLaw
Id
IdId
Group web design
Group web designGroup web design
Group web design
Max Friel
 
Untitled 1
Untitled 1Untitled 1
Untitled 1
Max Friel
 
Tourism in bangkok
Tourism in bangkokTourism in bangkok
Tourism in bangkok
Max Friel
 

More from Max Friel (20)

Assum 4
Assum 4Assum 4
Assum 4
 
Assum 3
Assum 3Assum 3
Assum 3
 
Tourism
TourismTourism
Tourism
 
Practice programs
Practice programsPractice programs
Practice programs
 
Debugging
DebuggingDebugging
Debugging
 
Strings
StringsStrings
Strings
 
Loops
LoopsLoops
Loops
 
If conditions
If conditionsIf conditions
If conditions
 
Keywords used in javascript
Keywords used in javascriptKeywords used in javascript
Keywords used in javascript
 
Variables
VariablesVariables
Variables
 
Basics
BasicsBasics
Basics
 
Developing html skills 1
Developing html skills 1Developing html skills 1
Developing html skills 1
 
Matching game
Matching gameMatching game
Matching game
 
activity flowcharts
activity flowchartsactivity flowcharts
activity flowcharts
 
Summer course
Summer courseSummer course
Summer course
 
Law
LawLaw
Law
 
Id
IdId
Id
 
Group web design
Group web designGroup web design
Group web design
 
Untitled 1
Untitled 1Untitled 1
Untitled 1
 
Tourism in bangkok
Tourism in bangkokTourism in bangkok
Tourism in bangkok
 

Recently uploaded

"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 

Recently uploaded (20)

"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 

Coding task new

  • 1. Summary on Javascript coding  Document.write produces a message in a program, what is within the quotation marks will be displayed in the program for example- (“ the total marks are”)
  • 2. Summary on Javascript coding  Variables can be defined with a name, any name you choose for example... var maroon_5  Variable names are case-sensitive and should only begin with a letter/underscore. Var 6num would not work.  Variables can not include spaces
  • 3. Summary on Javascript coding  ParseInt is used in coding to assign a variable to be recognised by the program. For example if you see numb=parseInt(numb) then this means that var numb will be a number you enter into the program.
  • 4. Summary on Javascript coding  Mathematical operators are used to make the program perform an equation on numerical data.  *, %, -, /, + are examples of operators.
  • 5. Summary on Javascript coding  Prompt is used to make the program allow the user to enter data.  Anything included in the quotation marks will displayed in the program. For example- var numb= prompt(“ enter a number here”);
  • 6. Summary on Javascript coding  Other Mathematical operators == (is equal to) < (is less than) > (is more than) <= (is less than equal to) != (is not equal to) >= (is greater than equal to)
  • 7. Summary on Javascript coding  The if statement allows the program to provide more than one output  If is always followed with { and } clauses  Can include an else to add additonal outputs based on the data for example- if( marks>3) { document.write (“yes”) } else { Document.write (“no”)
  • 8. Coding activity Instructions- Choose one of the code statements in each slide and copy into notepad to build a program
  • 9. Write a program to present the Grade for marks of a test A) <html> <body> <script type="text/javascript"> b)<html> <script ="text/javascript"> c)<html> <body> <script type="javascript">
  • 10. Grade for marks of a test A)var marks = prompt(enter the marks of test) marks=parseInt(result); b)var marks = prompt("enter the marks of test",""); marks=parseInt(marks); c)var result = ("enter the marks of test",""); totalmarks=parseInt(marks);
  • 11. Grade for marks of a test A)if else(marks==60) { document.write("grade is a"); b)if(marks>=60) { Documentwrite=("grade is a"); c)if(marks>=60) { document.write("grade is a");
  • 12. Grade for marks of a test A) } Else = (marks >=45) { document.write("grade is b"); b) } else if (marks =45) { document.write("grade is b"); c) } else if (marks >=45) { document.write("grade is b");
  • 13. Grade for marks of a test A) } else if (marks >=30) { document.write("grade is c"); b) } else if (marks >=30) document.write("grade is c") c) { else if (marks >=30) { document.write("grade is c");
  • 14. Grade for marks of a test A) } else { document.write("grade is f"); } b) else { document.write("grade is f"); } c) } else
  • 15. Grade for marks of a test A)<script> </body> </html> b) </body> </html> c) </html>