Académique Documents
Professionnel Documents
Culture Documents
Rationale
Computer science is a fieldto
of study
that deals with solving a
Introduction
App
variety of problems by using computers.
To solve a given problem by using computers, you need to
Development
design an algorithm for it.
Multiple algorithms can be designed to solve a particular
problem.
An algorithm that provides the maximum efficiency should
be used for solving the problem.
The efficiency of an algorithm can be improved by using an
appropriate data structure.
Session 1
Data
Structures and Algorithms
Objectives
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Introduction
to Windows
8
Overview of
Windows 8
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Introduction
to Windows
8
(Contd.)
Windows 8 editions:
Windows 8
Windows 8 Pro
Ver. 1.0
Session 1
Data
Structures
and Algorithms
The Windows
8 Experience
Ver. 1.0
Session 1
Data
Structures
and Algorithms
The Windows
8 Experience
(Contd.)
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Getting
Familiar with
Windows 8
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Getting
Familiar with
Windows 8 (Contd.)
Charms bar
Search Charm
Share Charm
Start
Devices Charm
Settings Charm
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Getting
Familiar with
Windows 8 (Contd.)
App bar
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Getting
Familiar with
Windows 8 (Contd.)
Ver. 1.0
Session 1
Data
Structures
and Algorithms
The Windows
8 Platform
Win8 Platform
Ver. 1.0
Session 1
Data
and Algorithms
Just aStructures
Minute
Ver. 1.0
Session 1
Data
and Algorithms
Just aStructures
Minute (Contd.)
Solution:
1. Model Controller
Ver. 1.0
Session 1
Data
Structures
The WinRT
APIs and Algorithms
WinRT
Ver. 1.0
Session 1
Data
Structures
and Algorithms
The WinRT
APIs (Contd.)
Ver. 1.0
Session 1
Data
Structures and Algorithms
Asynchronous
Programming in WinRT
Ver. 1.0
Session 1
Data
Structures and Algorithms
Asynchronous
Programming in WinRT
(Contd.)
The following code snippet shows a call to an asynchronous
method:
private async void btnSubmit_Click(object sender,
RoutedEventArgs e)
{
Windows.UI.Popups.MessageDialog msg = new
Windows.UI.Popups.MessageDialog("Welcome to Windows
Store APP Development.");
await msg.ShowAsync();
}
Ver. 1.0
Session 1
Data
and Algorithms
Just aStructures
Minute
Ver. 1.0
Session 1
Data
and Algorithms
Just aStructures
Minute (Contd.)
Solution:
1. async
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Introduction
to Windows
Store Apps
Intro to Windows
Store Apps
Ver. 1.0
Session 1
Data
Structures
and
Algorithms
Features
of Windows
Store
Apps
Windows
Store apps
Ver. 1.0
Session 1
Data
Structures
and
Algorithms
Features
of Windows
Store
Apps (Contd.)
Windows Store
apps
Ver. 1.0
Session 1
Data
Structures
and
Algorithms
Features
of Windows
Store
Apps (Contd.)
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Structure
of a Windows
Store Project
App.xaml
App.xaml.cs
Files
MainPage.xaml
MainPage.xaml.cs
<Project_Name>_TemporaryKey.pfx
Windows
Store
Project
Package.appxmanifest
Properties
References
Directorie
s
Ver. 1.0
Assets
Common
Session 1
Data
and Algorithms
Just aStructures
Minute
Ver. 1.0
Session 1
Data
and Algorithms
Just aStructures
Minute (Contd.)
Solution:
3. StandardStyles.xaml
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Gearing
Up for Developing
Windows Store Apps
Ver. 1.0
Session 1
Data
Structures
and
Algorithms
Planning
a Windows
Store
App
Ver. 1.0
Session 1
Data
Structures
and
Algorithms
Designing
a Windows
Store
App
Navigation
Design
Command
Design
Touch
Design
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Developing
a Windows
Store App
Ver. 1.0
Session 1
Data
Structures
and aAlgorithms
Testing
and Debugging
Windows Store App
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Packaging
and Deploying
a
Windows Store App
Ver. 1.0
Session 1
Data
Structures
and
Algorithms
Demo:
Creating Hello
World
App
Problem Statement:
Sam has started learning how to create Windows Store apps.
As his first app, he wants to create an app that displays the
message, Hello World!!!, on the interface. Help Sam to create
the required app.
Ver. 1.0
Session 1
Data
Structures
and
Algorithms
Demo:
Creating Hello
World
App (Contd.)
Solution:
To create an app that displays the message, Hello World!!!, on
the interface, Sam needs to perform the following tasks:
1. Create a new Windows Store app.
2. Design the User Interface (UI).
3. Execute the app and verify the output.
Ver. 1.0
Session 1
Data
Structures and Algorithms
Summary
Ver. 1.0
Session 1
Data
Structures
Summary
(Contd.) and Algorithms
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Whats
Next?
Ver. 1.0
Session 1
Data
Structures
and Algorithms
Whats
Next? (Contd.)
Ver. 1.0
Session 1