SlideShare a Scribd company logo
1 of 31
JAVA SCRIPT: INTRODUCTION TO SCRIPTING
INTRODUCTION TO SCRIPTING ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Simple Program: Printing a Line of Text in a Web Page  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Simple Program: Printing a Line of Text in a Web Page  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <!-- Fig. 8.1: welcome.html --> 3 4 <HTML> 5 <HEAD>  6 <TITLE> A First Program in JavaScript </TITLE> 7 8 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 9   document.writeln( 10   &quot;<H1>Welcome to JavaScript Programming!</H1>&quot; ); 11 </SCRIPT> 12 13 </HEAD><BODY></BODY> 14 </HTML>
 
Simple Program: Printing a Line of Text in a Web Page  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1 <!DOCTYPE html PUBLIC  &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.2: welcome.html --> 4 5 <HEAD> 6 <TITLE> Printing a Line with Multiple Statements </TITLE>  7 8 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 9   document.write( &quot;<FONT COLOR='magenta'><H1>Welcome to &quot; ); 10   document.writeln( &quot;JavaScript Programming!</H1></FONT>&quot; ); 11 </SCRIPT> 12 13 </HEAD><BODY></BODY> 14 </HTML>
 
1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.3: welcome.html --> 4 5 <HEAD><TITLE> Printing Multiple Lines </TITLE>  6 7 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 8   document.writeln(  9   &quot;<H1>Welcome to<BR>JavaScript<BR>Programming!</H1>&quot; ); 10 </SCRIPT> 11 12 </HEAD><BODY></BODY> 13 </HTML>
 
Simple Program: Printing a Line of Text in a Web Page  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1 <!DOCTYPE HTML PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML<!DOCTYPE HTML PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > > 3 <!--  <!DOCTYPE HTML PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > Fig. 8.4: welcome.html --> 4 <!-- Printing multiple lines in a dialog box --> 5 6 <HEAD> 7 8 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 9   window.alert( &quot;Welcome toJavaScriptProgramming!&quot; ); 10 </SCRIPT> 11 12 </HEAD> 13 14 <BODY> 15 <P> Click Refresh (or Reload) to run this script again. </P>  16 </BODY> 17 </HTML>
 
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 < 1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > HTML> 3 <!-- 1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > Fig. 8.6: Addition.html --> 4 5 <HEAD> 6 <TITLE> An Addition Program </TITLE> 7 8 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 9   var  firstNumber,  // first string entered by user 10   secondNumber,  // second string entered by user 11   number1,  // first number to add 12   number2,  // second number to add 13   sum;  // sum of number1 and number2 14 15   // read in first number from user as a string 16   firstNumber = window.prompt( &quot;Enter first integer&quot;, &quot;0&quot; ); 17 18   // read in second number from user as a string 19   secondNumber = window.prompt( &quot;Enter second integer&quot;, &quot;0&quot; ); 20 21   // convert numbers from strings to integers 22   number1 = parseInt( firstNumber );  23   number2 = parseInt( secondNumber ); 24 25   // add the numbers 26   sum = number1 + number2; 27 28   // display the results 29   document.writeln( &quot;<H1>The sum is &quot; + sum + &quot;</H1>&quot; ); 30 </SCRIPT> 31 32 </HEAD>
 
Memory Concepts ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Arithmetic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Arithmetic
Arithmetic ,[object Object],[object Object],[object Object],[object Object]
Decision Making: Equality and Relational Operators ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Decision Making: Equality and Relational Operators Equality and Relational Operators:
1 <!DOCTYPE html PUBLIC  &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.14: comparison.html --> 4 <!-- Using if statements, relational operators, -->  5 <!-- and equality operators --> 6 7 <HEAD> 8 <TITLE> Performing Comparisons </TITLE> 9 10 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 11   var  first,  // first string entered by user 12   second;  // second string entered by user 13 14   // read first number from user as a string 15   first = window.prompt( &quot;Enter first integer:&quot;, &quot;0&quot; ); 16 17   // read second number from user as a string 18   second = window.prompt( &quot;Enter second integer:&quot;, &quot;0&quot; ); 19 20   document.writeln( &quot;<H1>Comparison Results</H1>&quot; ); 21   document.writeln( &quot;<TABLE BORDER = '1' WIDTH = '100%'>&quot; ); 22 23   if  ( first == second ) 24   document.writeln( &quot;<TR><TD>&quot; + first + &quot; == &quot; + second +  25   &quot;</TD></TR>&quot; ); 26 27   if  ( first != second ) 28   document.writeln( &quot;<TR><TD>&quot; + first + &quot; != &quot; + second + 29   &quot;</TD></TR>&quot; ); 30 31   if  ( first < second ) 32   document.writeln( &quot;<TR><TD>&quot; + first + &quot; < &quot; + second +
33   &quot;</TD></TR>&quot; ); 34 35   if  ( first > second ) 36   document.writeln( &quot;<TR><TD>&quot; + first + &quot; > &quot; + second + 37   &quot;</TD></TR>&quot; ); 38 39   if  ( first <= second ) 40   document.writeln( &quot;<TR><TD>&quot; + first + &quot; <= &quot; + second + 41   &quot;</TD></TR>&quot; ); 42 43   if  ( first >= second ) 44   document.writeln( &quot;<TR><TD>&quot; + first + &quot; >= &quot; + second +  45   &quot;</TD></TR>&quot; ); 46 47   // Display results 48   document.writeln( &quot;</TABLE>&quot; ); 49 </SCRIPT> 50 51 </HEAD>
 
ANGGOTA KELOMPOK M HAFIIZH FARDHANI  5107100050  AINI RACHMANIA K.F. 5107100077 SITA  IMMIAR WARDHANY  5107100080

More Related Content

What's hot

Html Server Input Radiobutton Control CS
Html Server Input Radiobutton Control CSHtml Server Input Radiobutton Control CS
Html Server Input Radiobutton Control CSsunmitraeducation
 
Introduction to java script
Introduction to java scriptIntroduction to java script
Introduction to java scriptDivyaKS12
 
Introduction to java script
Introduction to java scriptIntroduction to java script
Introduction to java scriptnanjil1984
 
IT Club @ NCP - PHP Workshop May 10, 2011
IT Club @ NCP - PHP Workshop May 10, 2011IT Club @ NCP - PHP Workshop May 10, 2011
IT Club @ NCP - PHP Workshop May 10, 2011IT Club GTA
 
Intro to html5 Boilerplate
Intro to html5 BoilerplateIntro to html5 Boilerplate
Intro to html5 BoilerplateMichael Enslow
 
Software Design
Software DesignSoftware Design
Software DesignSpy Seat
 
Code Generation using T4
Code Generation using T4Code Generation using T4
Code Generation using T4Joubin Najmaie
 
Advanced PHP: Design Patterns - Dennis-Jan Broerse
Advanced PHP: Design Patterns - Dennis-Jan BroerseAdvanced PHP: Design Patterns - Dennis-Jan Broerse
Advanced PHP: Design Patterns - Dennis-Jan Broersedpc
 
Margareth lota
Margareth lotaMargareth lota
Margareth lotamaggybells
 
Fundamentals of programming final santos
Fundamentals of programming final santosFundamentals of programming final santos
Fundamentals of programming final santosAbie Santos
 
RomaFramework Tutorial Basics
RomaFramework Tutorial BasicsRomaFramework Tutorial Basics
RomaFramework Tutorial BasicsLuca Garulli
 
Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!olracoatalub
 
Basics of Javascript
Basics of Javascript Basics of Javascript
Basics of Javascript poojanov04
 
CSIS 138 Javascript Class1
CSIS 138 Javascript Class1CSIS 138 Javascript Class1
CSIS 138 Javascript Class1Teresa Pelkie
 
Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Niraj Bharambe
 

What's hot (19)

Php
PhpPhp
Php
 
Php
PhpPhp
Php
 
Html Server Input Radiobutton Control CS
Html Server Input Radiobutton Control CSHtml Server Input Radiobutton Control CS
Html Server Input Radiobutton Control CS
 
Introduction to java script
Introduction to java scriptIntroduction to java script
Introduction to java script
 
My final requirement
My final requirementMy final requirement
My final requirement
 
Introduction to java script
Introduction to java scriptIntroduction to java script
Introduction to java script
 
IT Club @ NCP - PHP Workshop May 10, 2011
IT Club @ NCP - PHP Workshop May 10, 2011IT Club @ NCP - PHP Workshop May 10, 2011
IT Club @ NCP - PHP Workshop May 10, 2011
 
Intro to html5 Boilerplate
Intro to html5 BoilerplateIntro to html5 Boilerplate
Intro to html5 Boilerplate
 
Software Design
Software DesignSoftware Design
Software Design
 
Code Generation using T4
Code Generation using T4Code Generation using T4
Code Generation using T4
 
Advanced PHP: Design Patterns - Dennis-Jan Broerse
Advanced PHP: Design Patterns - Dennis-Jan BroerseAdvanced PHP: Design Patterns - Dennis-Jan Broerse
Advanced PHP: Design Patterns - Dennis-Jan Broerse
 
Margareth lota
Margareth lotaMargareth lota
Margareth lota
 
Fundamentals of programming final santos
Fundamentals of programming final santosFundamentals of programming final santos
Fundamentals of programming final santos
 
RomaFramework Tutorial Basics
RomaFramework Tutorial BasicsRomaFramework Tutorial Basics
RomaFramework Tutorial Basics
 
Php
PhpPhp
Php
 
Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!
 
Basics of Javascript
Basics of Javascript Basics of Javascript
Basics of Javascript
 
CSIS 138 Javascript Class1
CSIS 138 Javascript Class1CSIS 138 Javascript Class1
CSIS 138 Javascript Class1
 
Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01
 

Viewers also liked

Add a web server
Add a web serverAdd a web server
Add a web serverAgCharu
 
Unit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingUnit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingsana mateen
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scriptssana mateen
 
JavaScript: Operators and Expressions
JavaScript: Operators and ExpressionsJavaScript: Operators and Expressions
JavaScript: Operators and ExpressionsLearnNowOnline
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about serversSasin Prabu
 
Types of Servers - Basic Differences
Types of Servers - Basic DifferencesTypes of Servers - Basic Differences
Types of Servers - Basic DifferencesVR Talsaniya
 

Viewers also liked (13)

Add a web server
Add a web serverAdd a web server
Add a web server
 
Introduction to Java Scripting
Introduction to Java ScriptingIntroduction to Java Scripting
Introduction to Java Scripting
 
Unit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingUnit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scripting
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scripts
 
JavaScript: Operators and Expressions
JavaScript: Operators and ExpressionsJavaScript: Operators and Expressions
JavaScript: Operators and Expressions
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Web servers
Web serversWeb servers
Web servers
 
Web servers
Web serversWeb servers
Web servers
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
Basic Server PPT (THDC)
Basic Server PPT (THDC)Basic Server PPT (THDC)
Basic Server PPT (THDC)
 
Types of Servers - Basic Differences
Types of Servers - Basic DifferencesTypes of Servers - Basic Differences
Types of Servers - Basic Differences
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
 
Automation test scripting guidelines
Automation test scripting guidelines Automation test scripting guidelines
Automation test scripting guidelines
 

Similar to Tugas Pw [6]

Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Cathie101
 
Introduction To Lamp
Introduction To LampIntroduction To Lamp
Introduction To LampAmzad Hossain
 
Javascript survival for CSBN Sophomores
Javascript survival for CSBN SophomoresJavascript survival for CSBN Sophomores
Javascript survival for CSBN SophomoresAndy de Vera
 
Struts2
Struts2Struts2
Struts2yuvalb
 
Csphtp1 18
Csphtp1 18Csphtp1 18
Csphtp1 18HUST
 
course slides -- powerpoint
course slides -- powerpointcourse slides -- powerpoint
course slides -- powerpointwebhostingguy
 
PHP Presentation
PHP PresentationPHP Presentation
PHP PresentationNikhil Jain
 
CIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETCIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETwebhostingguy
 
Jscript Fundamentals
Jscript FundamentalsJscript Fundamentals
Jscript Fundamentalsrspaike
 
JavaScript and jQuery Fundamentals
JavaScript and jQuery FundamentalsJavaScript and jQuery Fundamentals
JavaScript and jQuery FundamentalsBG Java EE Course
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 

Similar to Tugas Pw [6] (20)

Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0
 
JavaScript
JavaScriptJavaScript
JavaScript
 
Introduction To Lamp
Introduction To LampIntroduction To Lamp
Introduction To Lamp
 
Javascript survival for CSBN Sophomores
Javascript survival for CSBN SophomoresJavascript survival for CSBN Sophomores
Javascript survival for CSBN Sophomores
 
Struts2
Struts2Struts2
Struts2
 
Csphtp1 18
Csphtp1 18Csphtp1 18
Csphtp1 18
 
course slides -- powerpoint
course slides -- powerpointcourse slides -- powerpoint
course slides -- powerpoint
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
 
CIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETCIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NET
 
HTML
HTMLHTML
HTML
 
Jscript Fundamentals
Jscript FundamentalsJscript Fundamentals
Jscript Fundamentals
 
JavaScript and jQuery Fundamentals
JavaScript and jQuery FundamentalsJavaScript and jQuery Fundamentals
JavaScript and jQuery Fundamentals
 
Php intro
Php introPhp intro
Php intro
 
Php
PhpPhp
Php
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 

Recently uploaded

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Recently uploaded (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 

Tugas Pw [6]

  • 2.
  • 3.
  • 4.
  • 5. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <!-- Fig. 8.1: welcome.html --> 3 4 <HTML> 5 <HEAD> 6 <TITLE> A First Program in JavaScript </TITLE> 7 8 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 9 document.writeln( 10 &quot;<H1>Welcome to JavaScript Programming!</H1>&quot; ); 11 </SCRIPT> 12 13 </HEAD><BODY></BODY> 14 </HTML>
  • 6.  
  • 7.
  • 8. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.2: welcome.html --> 4 5 <HEAD> 6 <TITLE> Printing a Line with Multiple Statements </TITLE> 7 8 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 9 document.write( &quot;<FONT COLOR='magenta'><H1>Welcome to &quot; ); 10 document.writeln( &quot;JavaScript Programming!</H1></FONT>&quot; ); 11 </SCRIPT> 12 13 </HEAD><BODY></BODY> 14 </HTML>
  • 9.  
  • 10. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.3: welcome.html --> 4 5 <HEAD><TITLE> Printing Multiple Lines </TITLE> 6 7 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 8 document.writeln( 9 &quot;<H1>Welcome to<BR>JavaScript<BR>Programming!</H1>&quot; ); 10 </SCRIPT> 11 12 </HEAD><BODY></BODY> 13 </HTML>
  • 11.  
  • 12.
  • 13. 1 <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > > 3 <!-- <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > Fig. 8.4: welcome.html --> 4 <!-- Printing multiple lines in a dialog box --> 5 6 <HEAD> 7 8 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 9 window.alert( &quot;Welcome toJavaScriptProgramming!&quot; ); 10 </SCRIPT> 11 12 </HEAD> 13 14 <BODY> 15 <P> Click Refresh (or Reload) to run this script again. </P> 16 </BODY> 17 </HTML>
  • 14.  
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 < 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > HTML> 3 <!-- 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > Fig. 8.6: Addition.html --> 4 5 <HEAD> 6 <TITLE> An Addition Program </TITLE> 7 8 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 9 var firstNumber, // first string entered by user 10 secondNumber, // second string entered by user 11 number1, // first number to add 12 number2, // second number to add 13 sum; // sum of number1 and number2 14 15 // read in first number from user as a string 16 firstNumber = window.prompt( &quot;Enter first integer&quot;, &quot;0&quot; ); 17 18 // read in second number from user as a string 19 secondNumber = window.prompt( &quot;Enter second integer&quot;, &quot;0&quot; ); 20 21 // convert numbers from strings to integers 22 number1 = parseInt( firstNumber ); 23 number2 = parseInt( secondNumber ); 24 25 // add the numbers 26 sum = number1 + number2; 27 28 // display the results 29 document.writeln( &quot;<H1>The sum is &quot; + sum + &quot;</H1>&quot; ); 30 </SCRIPT> 31 32 </HEAD>
  • 21.  
  • 22.
  • 23.
  • 25.
  • 26.
  • 27. Decision Making: Equality and Relational Operators Equality and Relational Operators:
  • 28. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.14: comparison.html --> 4 <!-- Using if statements, relational operators, --> 5 <!-- and equality operators --> 6 7 <HEAD> 8 <TITLE> Performing Comparisons </TITLE> 9 10 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 11 var first, // first string entered by user 12 second; // second string entered by user 13 14 // read first number from user as a string 15 first = window.prompt( &quot;Enter first integer:&quot;, &quot;0&quot; ); 16 17 // read second number from user as a string 18 second = window.prompt( &quot;Enter second integer:&quot;, &quot;0&quot; ); 19 20 document.writeln( &quot;<H1>Comparison Results</H1>&quot; ); 21 document.writeln( &quot;<TABLE BORDER = '1' WIDTH = '100%'>&quot; ); 22 23 if ( first == second ) 24 document.writeln( &quot;<TR><TD>&quot; + first + &quot; == &quot; + second + 25 &quot;</TD></TR>&quot; ); 26 27 if ( first != second ) 28 document.writeln( &quot;<TR><TD>&quot; + first + &quot; != &quot; + second + 29 &quot;</TD></TR>&quot; ); 30 31 if ( first < second ) 32 document.writeln( &quot;<TR><TD>&quot; + first + &quot; < &quot; + second +
  • 29. 33 &quot;</TD></TR>&quot; ); 34 35 if ( first > second ) 36 document.writeln( &quot;<TR><TD>&quot; + first + &quot; > &quot; + second + 37 &quot;</TD></TR>&quot; ); 38 39 if ( first <= second ) 40 document.writeln( &quot;<TR><TD>&quot; + first + &quot; <= &quot; + second + 41 &quot;</TD></TR>&quot; ); 42 43 if ( first >= second ) 44 document.writeln( &quot;<TR><TD>&quot; + first + &quot; >= &quot; + second + 45 &quot;</TD></TR>&quot; ); 46 47 // Display results 48 document.writeln( &quot;</TABLE>&quot; ); 49 </SCRIPT> 50 51 </HEAD>
  • 30.  
  • 31. ANGGOTA KELOMPOK M HAFIIZH FARDHANI 5107100050 AINI RACHMANIA K.F. 5107100077 SITA IMMIAR WARDHANY 5107100080

Editor's Notes

  1. Glowing “neon tubes” text with reflection (Intermediate) To reproduce the effects on this slide, do the following: On the Home tab, in the Slides group, click Layout , and then click Blank . On the Insert tab, in the Text group, click Text Box , and then on the slide, drag to draw the text box. Enter text in the text box, select the text, and then on the Home tab, in the Font group, select Arial Rounded MT Bold from the Font list, select 60 from the Font Size list, and then click Bold . On the Home tab, in the Paragraph group, click Center to center the text in the text box. On the Home tab, in the Font group, click Character Spacing , and then click More Spacing . In the Font dialog box, on the Character Spacing tab, in the Spacing list, select Expanded . In the By box, enter 2 . Select the text box. Under Drawing Tools , on the Format tab, in the bottom right corner of the WordArt Styles group, click the Format Text Effects dialog box launcher. In the Format Text Effects dialog box, click Text Fill in the left pane, select Gradient fill in the Text Fill pane, and then do the following: Click the button next to Preset colors , and then click Ocean (second row, second option from the left). In the Type list, select Linear . Click the button next to Direction , and then click Linear Diagonal (first row, first option from the left). In the Angle box , enter 45° . Also in the Format Text Effects dialog box, click Text Outline in the left pane. In the Text Outline pane, select Solid line , click the button next to Color , and then under Theme Colors click Black, Text 1 (first row, second option from the left). Also in the Format Text Effects dialog box, click Outline Style in the left pane. In the Outline Style pane, in the Width box, enter 0.75 pt . Also in the Format Text Effects dialog box, click 3-D Format in the left pane, and then do the following in the 3-D Format pane: Under Bevel , click the button next to Top , and then under Bevel click Hard Edge (third row, third option from the left). Next to Top , in the Width box, enter 4 pt , and in the Height box, enter 0.8 pt . Under Depth , click the button next to Color , and then under Theme Colors click Black, Text 1 (first row, second option from the left). In the Depth box, enter 4.5 pt . Under Surface , click the button next to Material , and then under Translucent click Powder (first option from the left). Click the button next to Lighting , and then under Special click Glow (third option from the left). Under Drawing Tools , on the Format tab, in the WordArt Styles group, click Text Effects , point to Glow , and then under Glow Variations click Accent color 5, 8 pt glow (second row, fifth option from the left). Under Drawing Tools , on the Format tab, in the WordArt Styles group, click Text Effects , point to Reflection , and then under Reflection Variations click Half Reflection, 4 pt offset (second row, second option from the left). Drag the text box vertically on the slide to position it slightly above the middle. Select the text box. On the Home tab, in the Drawing group, click Arrange , point to Align , and then do the following: Click Align to Slide . Click Align Center . To reproduce the background on this slide, do the following: Right-click the slide background area, and then click Format Background . In the Format Background dialog box, click Fill in the left pane. In the Fill pane, select Solid fill , and then click the button next to Color , and under Theme Colors click Black, Text 1 (first row, second option from the left).