Docsity

programing, security, ppt, Assignments of Information and Communications Technology (ICT)

Toggle sidebar
bg1
தொழில்நுட்ப்பவியல் கல்லூரி -
யொழ்ப்பொணம்
COLLEGE OF TECHNOLOGY -JAFFNA
Assignment Template & Feedback Form
Course Name : …
ICT……………………………………………………….(Full/Part Time)
National Vocational Qualification -Level -3/4/5/6
Student Name A.Harikrishnan Assessment No
Reg No JA/20/ETB11.1/1/0039 Batch No ICT PT 2020-2022
Module Title Semister 01
Module No Submission on
Issud on Received By
Marks : Grade :
Lecturer/Instructor Name : ………………………………………….
Lecturer/Instructor Signature : ………………………………………
Date : ……………………………………
pg. 1
Feedback :
……………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………………
……
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download programing, security, ppt and more Assignments Information and Communications Technology (ICT) in PDF only on Docsity!

COLLEGE OF TECHNOLOGY -JAFFNA

Assignment Template & Feedback Form

Course Name : …

ICT……………………………………………………….(Full/Part Time)

National Vocational Qualification -Level -3/4/5/ 6

Student Name A.Harikrishnan Assessment No

Reg No JA/20/ETB11.1/1/0039 Batch No ICT PT 2020-

Module Title Semister 01

Module No Submission on

Issud on Received By

Marks : Grade :

Lecturer/Instructor Name : ………………………………………….

Lecturer/Instructor Signature : ………………………………………

Date : ……………………………………

Feedback :

Contents

70 - Employees Details...................................................................................................................... 109

71 - Company Job Details.................................................................................................................. 111

01 - Sum using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { double a = Convert.ToInt32(textBox1.Text); double b = Convert.ToInt32(textBox2.Text); textBox3.Text = (a + b).ToString(); } } }

02 - Sub using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { double a = Convert.ToInt32(textBox1.Text); double b = Convert.ToInt32(textBox2.Text); textBox3.Text = (a - b).ToString(); } } }

04 - Div using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { double a = Convert.ToInt32(textBox1.Text); double b = Convert.ToInt32(textBox2.Text); textBox3.Text = (a / b).ToString(); } } }

05 - Biggest Number using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; namespace WindowsFormsApplication { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { int a = Convert.ToInt32(textBox1.Text); int b = Convert.ToInt32(textBox2.Text); if (a>b) { textBox3.Text = "Number 1 is a Biggest number"; } else { textBox3.Text = "Number 2 is a Biggest number"; } } } }

07 - Picture Box using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form2 : Form { public Form2() { InitializeComponent(); } string imgLog = ""; private void pictureBox1_Click(object sender, EventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.Filter = "Image Files(Image Files(.jpg;.jpeg;.gif;.bmp;.tif;.tiff;.pdf)| .jpg;.jpeg;.gif;.bmp;.tif;.tiff;.pdf"; if (dlg.ShowDialog() == DialogResult.OK) { imgLog = dlg.FileName.ToString(); pictureBox1.ImageLocation = imgLog; } } } }

08 - Age Calculater using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form5 : Form { public Form5() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string IDNumber = textBox1.Text; int y, m, d; int a, b, c; y = Convert.ToInt32(IDNumber.Substring(0, 2)); a = (1900 + y); m = Convert.ToInt32(IDNumber.Substring(2, 3)); if (m < 500) { b = ((m ) / 30);

09 - Multiplication - List Box using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form6 : Form { public Form6() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { int a = Convert.ToInt32(textBox1.Text); int b = Convert.ToInt32(textBox2.Text); for (int i = 1; i <= a; i++) { listBox1.Items.Add("" + i + " * " + b + " = " + (i * b).ToString()); } } private void button2_Click(object sender, EventArgs e) { textBox1.Text = ""; textBox2.Text = ""; listBox1.Items.Clear(); } } }

10 - BMI Calculator using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form7 : Form { public Form7() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { double h = Convert.ToInt32(textBox1.Text); double w = Convert.ToInt32(textBox2.Text); textBox3.Text = (w / ((h/100) *( h/100))).ToString(); double bmi = Convert.ToDouble(textBox3.Text); if (bmi < 16) { MessageBox.Show("Severe Thinness"); } else if (bmi < 17) { MessageBox.Show("Moderate Thinness"); } else if (bmi< 18.5) { MessageBox.Show("Milled Thinness"); } else if (bmi < 25)

11 - Temperature using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form8 : Form { public Form8() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { double c = Convert.ToDouble(textBox1.Text); if (radioButton1.Checked) { textBox2.Text = (c + 273).ToString(); } else { textBox2.Text = (c* 9 / 5 + 32).ToString() ; } } } }

12 - Bank Balance Sheet using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form9 : Form { public Form9() { InitializeComponent(); } int c; private void button1_Click(object sender, EventArgs e) { richTextBox1.SelectedText = Environment.NewLine + "Account" + textBox1.Text + " created, Initial balance" + textBox2.Text; richTextBox1.SelectionColor = Color.Black; c = Convert.ToInt32(textBox2.Text); } private void button2_Click(object sender, EventArgs e) { int b = Convert.ToInt32(textBox4.Text); if (textBox1.Text == textBox3.Text) { c = c - b; }

13 - Text File using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form10 : Form { public Form10() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string filepath = @"C:\Users\NEXT GEN\Desktop" + "\New folder\"

  • textBox1.Text + ".txt"; StreamWriter writer = new StreamWriter(filepath); using (writer) { writer.WriteLine("Letter :" + textBox1.Text); } } } }

14 - Timer using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { public partial class Form11 : Form { public Form11() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { timer1.Start(); } int mm = 0; int ss = 0; int mi = 0; private void timer1_Tick(object sender, EventArgs e) {mm++; if (mm > 59) { mm = 0; ss++; } if (ss > 59) { ss = 0; mi++; }