Professional Documents
Culture Documents
on
Animation_quiz
By
P.AMULYA
1602-14-733-006
ACKNOWLEDGEMENT
The success and final outcome of this project required a lot of guidance and assistance
from many people and we are extremely fortunate to have got this all along the
completion of our project work. Whatever we have done is only due to such guidance
and assistance and we would not forget to thank them.
We are highly indebted toMr. Shashi and Mr. Vinay for giving us an opportunity to do
the project.
We are thankful to and fortunate enough to get constant encouragement, support and
guidance from all Teaching staffs of Department of computer science which helped us
in successfully completing our project work. Also, we would like to extend our
sincere regards to all the non-teaching staff of department of computer science for
their timely support.
Table of Contents
1 INTRODUCTION:...........................................................................1
1.1 Purpose:..........................................................................................................1
1.2
Scope:..........................................................................................................1
1.3
1.4 Overview:.....................................................................................................1
2.0
OVERALL DESCRIPTION...........................................................................1
User Characteristics......................................................................................2
List of Figures
Figure 1Home Page Of The App.................................................................32
Figure 2 Questions..................................................................................... 32
Figure 3 Question Containing Images........................................................33
Figure 4 Output.......................................................................................... 33
Abstract
1.0 INTRODUCTION:
1.1 Purpose:
1.2 Scope:
The requirements specified in this document will be used for designing all the
aspects and components of the app. The document will be updated as the
requirements grow and change over the design and development process.
1.4Overview
This will provide an overview of our vision of the app including our
perspectives of the app, assumptions of user characteristics and interactions,
and some design constraints.
2. Overall Description
2.1 Product Perspective
2.1.1 System Interfaces
There are no external system interfaces that app will interact with.
The interface for the users will be entertaining and engaging. The function of
the buttons will be easy to understand and simple to use. Menus will be
interactive and easily accessible throughout the app. Once the app is in
playingmode, everything a user needs will be clearly visible on the screen and
easily accessible.
1 | Page
C-Sharp(C#)
Windows-10
2.1.6 Operations
The app will provide the following minimal operations:
Provide user interface and controls for the targeted audience.
Provide Entertainment to the Users.
2.3 Constraints
The following constraints are specified :
It will be necessary to test the game on children to ensure that it is entertaining and
easy to use.
o Windows 10: DualCore, 16 MB ram, 80 MB HDD space, Mouse, SVGA video
card, 2x, or better, speed CD-ROM, DirectX compatible sound card.
3. Performance Requirements
In this section, we will specify detailed requirements for the app
3.1 Usability
The system will test basic computer abilities prior to beginning the app, and
provide the necessary tutorials
Maximum time from launching the app until it is playable will be 30 sec..
2 | Page
3.2 Performance
Resource utilization The app will occupy at most 80mb of hard drive space. It
will also be kept simple enough to run smoothly on a system having no more
then a 60 Mhz processor and 16MB of ram.
4.Specific Requirements
In this section, we will specify detailed requirements for the game
5.Code:
MainPage.xaml:
<Page
x:Class="app.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:app"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markupcompatibility/2006"
mc:Ignorable="d">
<TextBlock x:Name="textBlock5_Copy11"
HorizontalAlignment="Left" Margin="195,270,0,0" TextWrapping="Wrap"
Text="Sc" VerticalAlignment="Top" FontWeight="Bold" Height="20"
Width="16"/>
<TextBlock x:Name="textBlock6_Copy11"
HorizontalAlignment="Left" Margin="180,284,0,0" TextWrapping="Wrap"
Text="Scandium" VerticalAlignment="Top" FontSize="11" Height="15"
Width="48" />
<Button x:Name="y" Content="" HorizontalAlignment="Left"
Margin="172,314,0,0" VerticalAlignment="Top" Width="59" Height="59"
Background="#FF37D1CA" Click="y_Click"/>
<TextBlock x:Name="textBlock1_Copy12"
HorizontalAlignment="Left" Margin="179,318,0,0" TextWrapping="Wrap"
Text="39" VerticalAlignment="Top" FontSize="12" Height="16"
Width="13"/>
<TextBlock x:Name="textBlock5_Copy12"
HorizontalAlignment="Left" Margin="195,331,0,0" TextWrapping="Wrap"
Text="Y" VerticalAlignment="Top" FontWeight="Bold" Height="20"
Width="9"/>
<TextBlock x:Name="textBlock6_Copy12"
HorizontalAlignment="Left" Margin="184,346,0,0" TextWrapping="Wrap"
Text="yttrium" VerticalAlignment="Top" FontSize="11" Height="15"
Width="35"/>
<Button x:Name="button6_Copy1" Content=""
HorizontalAlignment="Left" Margin="172,375,0,0"
VerticalAlignment="Top" Width="59" Height="59"
Background="#FFE8792D"/>
<TextBlock x:Name="textBlock1_Copy13"
HorizontalAlignment="Left" Margin="179,379,0,0" TextWrapping="Wrap"
Text="57-71" VerticalAlignment="Top" FontSize="12" Width="32"
Height="16"/>
<TextBlock x:Name="textBlock5_Copy13"
HorizontalAlignment="Left" Margin="225,408,0,0" TextWrapping="Wrap"
Text="" VerticalAlignment="Top" FontWeight="Bold" Height="20"
Width="0"/>
<TextBlock x:Name="textBlock6_Copy13"
HorizontalAlignment="Left" Margin="213,424,0,0" TextWrapping="Wrap"
Text="" VerticalAlignment="Top" FontSize="11" Height="15" Width="0"/>
<TextBlock x:Name="textBlock7_Copy13"
HorizontalAlignment="Left" Margin="216,434,0,0" TextWrapping="Wrap"
Text="" VerticalAlignment="Top" FontSize="10" Height="13" Width="0"/>
<Button x:Name="button7_Copy1" Content=""
HorizontalAlignment="Left" Margin="172,436,0,0"
8 | Page
Content="http://www.lenntech.com/periodic/number/atomicnumber.htm" Click="HyperlinkButton_Click"></HyperlinkButton>
<Image x:Name="image" HorizontalAlignment="Left" Height="104"
Margin="175,92,0,0" VerticalAlignment="Top" Width="112"
Source="Assets/11.jpg" DoubleTapped="image_DoubleTapped"
Stretch="Fill"/>
<TextBlock x:Name="tb" HorizontalAlignment="Left"
Margin="248,121,0,0" TextWrapping="Wrap" Text="DOUBLE TAP HERE"
VerticalAlignment="Top" Height="55" Width="132"
RenderTransformOrigin="0.5,0.5" FontWeight="Bold" FontSize="20" />
<TextBlock x:Name="ammu" HorizontalAlignment="Left"
Margin="258,24,0,0" TextWrapping="Wrap" Text="TextBlock"
VerticalAlignment="Top" Height="31" Width="78" Visibility="Collapsed"/>
<TextBlock x:Name="textBlock35" HorizontalAlignment="Left"
Margin="331,114,0,0" TextWrapping="Wrap" Text="TextBlock"
VerticalAlignment="Top" Height="49" Width="69" Visibility="Collapsed"/>
<TextBlock x:Name="sai" HorizontalAlignment="Left"
Margin="850,32,0,0" TextWrapping="Wrap" Text="TextBlock"
VerticalAlignment="Top" Visibility="Collapsed" Height="0" Width="0"/>
<Button x:Name="result" Content="CLICK HERE"
HorizontalAlignment="Left" Margin="380,91,0,0" VerticalAlignment="Top"
Click="result_Click" Height="104" Width="316" FontSize="30"
FontFamily="Gabriola" />
<Button x:Name="button1" Content="" HorizontalAlignment="Left"
Margin="1193,70,0,0" VerticalAlignment="Top" Width="68" Height="59"
Background="#FFD29EDE"/>
<TextBlock x:Name="textBlock39" HorizontalAlignment="Left"
Margin="1206,79,0,0" TextWrapping="Wrap" Text="Alkali metals"
VerticalAlignment="Top" Height="54" Width="44"/>
<Button x:Name="button2" Content="" HorizontalAlignment="Left"
Margin="1193,137,0,0" VerticalAlignment="Top" Width="67" Height="59"
Background="#FFD6587B" />
<TextBlock x:Name="textBlock39_Copy" HorizontalAlignment="Left"
Margin="1212,148,0,0" TextWrapping="Wrap" Text="non metals"
VerticalAlignment="Top" Height="54" Width="44"/>
<Button x:Name="button3" Content="" HorizontalAlignment="Left"
Margin="1193,207,0,0" VerticalAlignment="Top" Width="67"
Background="#FFE2DB46" Height="59"/>
<TextBlock x:Name="textBlock39_Copy4"
HorizontalAlignment="Left" Margin="1203,423,0,0" TextWrapping="Wrap"
Text="basic metal" VerticalAlignment="Top" Height="54" Width="64"
FontSize="15"/>
10 | P a g e
MainPage.Xaml.cs:
using SQLite.Net.Attributes;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Popups;
using System.ServiceModel.Channels;
namespace app
{
11 | P a g e
sai.Text = textBlock.Text;
}
private void button18_Click(object sender, RoutedEventArgs e)
{
H.Visibility = Visibility.Visible;
}
{
this.Frame.Navigate(typeof(BlankPage1));
}
public class pt
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string info{ get; set; }
public string Name { get; set; }
}
private void image_DoubleTapped(object sender,
DoubleTappedRoutedEventArgs e)
{
this.Frame.Navigate(typeof(video));
}
private void button18_Click_1(object sender, RoutedEventArgs e)
{
H.Visibility = Visibility.Collapsed;
}
private void button2_Copy5_Click(object sender, RoutedEventArgs e)
{
ammu.Text = textBlock11.Text;
result.Content = "
}
13 | P a g e
}
private void result_Click(object sender, RoutedEventArgs e)
{
var ss = conn.Query<pt>("SELECT * FROM pt");
string name = "";
foreach (var s in ss)
{
if (s.info == ammu.Text)
{
name = name + " " + s.Name;
}
textBlock38.Text = name;
textBlock35.Text = name;
}
H.Visibility = Visibility.Visible;
}
{
ammu.Text = textBlock5_Copy127.Text;
result.Content = "
}
}
}
Video.xaml.cs:
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
17 | P a g e
using Windows.UI.Xaml.Navigation;
namespace app
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a
Frame.
/// </summary>
public sealed partial class video : Page
{
public video()
{
this.InitializeComponent();
}
Video.xaml:
using
using
using
using
using
using
using
using
using
using
using
using
using
using
System;
System.Collections.Generic;
System.IO;
System.Linq;
System.Runtime.InteropServices.WindowsRuntime;
Windows.Foundation;
Windows.Foundation.Collections;
Windows.UI.Xaml;
Windows.UI.Xaml.Controls;
Windows.UI.Xaml.Controls.Primitives;
Windows.UI.Xaml.Data;
Windows.UI.Xaml.Input;
Windows.UI.Xaml.Media;
Windows.UI.Xaml.Navigation;
Blank1.xaml.cs:
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
namespace app
{
public sealed partial class BlankPage1 : Page
{
public BlankPage1()
{
this.InitializeComponent();
}
private void button_Click(object sender, RoutedEventArgs e)
{
webv.Visibility = Visibility.Visible;
Uri trg = new
Uri("http://www.lenntech.com/periodic/number/atomic-number.htm");
webv.Navigate(trg);
button.Visibility = Visibility.Collapsed;
}
private void button1_Click(object sender, RoutedEventArgs e)
{
this.Frame.Navigate(typeof(MainPage));
}
}
}
Blank1.xaml:
<Page
x:Class="app.BlankPage1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:app"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markupcompatibility/2006"
20 | P a g e
mc:Ignorable="d">
<Grid>
<Grid.Background>
<ImageBrush Stretch="Fill" ImageSource="Assets/3.jpg"/>
</Grid.Background>
<WebView x:Name="webv" HorizontalAlignment="Left"
Height="700" VerticalAlignment="Top" Width="1270"/>
<Button x:Name="button" Content="CLICK HERE"
HorizontalAlignment="Left" Margin="926,185,0,0"
VerticalAlignment="Top" FontSize="30" Click="button_Click"
FontStyle="Italic" Background="#332424B6" Width="242"
FontWeight="Bold"/>
<Button x:Name="button1" Content="X"
HorizontalAlignment="Stretch" Margin="1207,4,10,0"
VerticalAlignment="Top" Height="56" Background="#FFBF2929"
FontWeight="Bold" FontSize="27" Click="button1_Click"/>
</Grid>
</Page>
6.SCREEN SHOTS:
21 | P a g e
Future Enhancements:
Further enhancements for the project would be able to add new levels.
8. References:
1. https://msdn.microsoft.com/en-us/default.aspx
2.https://msdn.microsoft.com/developer-centers-msdn
22 | P a g e