Advanced Programming-1
Advanced Programming-1
Department name:
Computer Science Delivery mode: Annual ☒ Semester ☐ Bologna ☐
Year : 1☐ 2☐ 3☒ 4 ☐ 5☐
Project
Mark /Result:
Student signature:
Date : 21/6/2020
Lecturer’s Signature:
Date :
Head of Department name and signature :
By:Aland Hadi
Table of contents:
1) Introduction..............................3
2) body:..............................4
2A) concept and example codes..............................4 5
2B) Applications..............................5 6
3) Conclusion..............................7
1. Introduction
Advanced C# Programmingis about programmers and code. around the idea of
providing a lot of code listings for programmers who need to solve problems
now. Advanced C# Programming was written for developers who have an
intermediate to advanced level of experience with similar languages, such as C+
+, Delphi, or Visual Basic.NET, or who have read an introductory-level book
explaining the fundamentals of object-oriented programming with C#.As a
special feature, NET programming for the Web with C ,Visual Basic is a third-
generation event-driven programming language from Microsoft known for its
Component Object Model (COM) programming model first released in 1991
and declared legacy during 2008. Microsoft intended Visual Basic to be
relatively easy to learn and use. Visual Basic was derived from BASIC and
enables the rapid application development (RAD) of graphical user interface
(GUI) applications, access to databases using Data Access Objects, Remote
Data Objects, or ActiveX Data Objects, and creation of ActiveX controls and
objects.A programmer can create an application using the components provided
by the Visual Basic program itself. Over time the community of programmers
developed third-party components. Programs written in Visual Basic can also
use the Windows API, which requires external function declarations. The final
release was version 6 in 1998 (now known simply as Visual Basic). On April 8,
2008, Microsoft stopped supporting Visual Basic 6.0 IDE. The Microsoft Visual
Basic team still maintains compatibility for Visual Basic 6.0 applications on
Windows Vista, Windows Server 2008 including R2, Windows 7, Windows 8,
Windows 8.1, Windows Server 2012, Windows 10, Windows Server 2016, and
Windows Server 2019 through its "It Just Works" program. In 2014, some
software developers still preferred Visual Basic 6.0 over its successor, Visual
Basic .NET.In 2014 some developers lobbied for a new version of the VB6
programming environment.In 2016, Visual Basic 6.0 won the technical impact
award at The 19th Annual D.I.C.E. Awards.A dialect of Visual Basic, Visual
Basic for Applications (VBA), is used as a macro or scripting language within
several Microsoft and ISV applications, including Microsoft Office.
2. Body:
2A) concept and example codes
Programming is the process of teaching something to a computer by talking to
the machine in one of its common languages. The closer to the machine idiom
you go, the less natural the words become.Each language carries its own
expressive power. For any given concept, there is a language where its
description is simpler, more concise, and more detailed. In assembler, we have
to give an extremely rich and precise description for any (possibly simple)
algorithm, and this makes it very hard to read back. On the other hand, the
beauty of C++ is that, while being close enough to the machine language, the
language carries enough instruments to enrich itself.C++ allows programmers to
express the same concept with different styles and good C++ looks more
natural.First you are going to see the connection between the templates and the
style, and then you will dig into the details of the C++ template system.
advanced programming is data science, deep learning and artificial intellegence
and machine learning and many more.
Example code:
The following code snippet displays a message box saying "Hello, World!" as
the window loads:
2) Option Explicit
Dim Count As Integer
Private Sub Form_Load()
Count = 0
Timer1.Interval = 1000 ' units of milliseconds
End Sub
Private Sub Timer1_Timer()
Count = Count + 1
Label1.Caption = Count
End Sub
2B) Applications
People often ask for a recommendation on what language they should learn
next. If you're looking for a job in industry, is to learn whatever is hot right
now: C++, Java and C#--and probably Python, Ruby, PHP and Perl too.
1.Scala: Scala is one of the best-known, with one of the larger user bases. It was
engineered to run on the JVM, so anything you write in Scala can run anywhere
that Java runs—which is almost everywhere. There are good reasons to believe
that functional programming precepts, when followed, can build stronger code
that's easier to optimize and often free of some of the most maddening bugs.
Scala is one way to dip your toe into these waters.
3.Jolt:When XML was the big data format, a functional language called XSLT
was one of the better tools for fiddling with large datasets coded in XML. Now
that JSON has taken over the world, Jolt is one of the options for massaging
your JSON data and transforming it. You can write simple filters that extract
attributes and JOLT will find them and morph them as you desire. See also
Tempo and using XSLT itself.
4.Cuda:Most people take the power of their video cards for granted. They don't
even think about how many triangles the video card is juggling, as long as their
world is a complex, first-person shooter game. But if they would only look
under the hood, they would find a great deal of power ready to be unlocked by
the right programmer. The CUDA language is a way for Nvidia to open up the
power of their graphics processing units (GPUs) to work in ways other than
killing zombies or robots.
3. Conclusion
Advanced C# Programmingis about programmers and code. around the idea of
providing a lot of code listings for programmers who need to solve problems
now.
The Microsoft Visual Basic team still maintains compatibility for Visual Basic
6.0 applications on Windows Vista, Windows Server 2008 including R2,
Windows 7, Windows 8, Windows 8.1, Windows Server 2012, Windows 10,
Windows Server 2016, and Windows Server 2019 through its "It Just Works"
program.
Programming is the process of teaching something to a computer by talking to
the machine in one of its common languages. The closer to the machine idiom
you go, the less natural the words become.Each language carries its own
expressive power.
Some advanced languages like:
Scala: Scala is one of the best-known, with one of the larger user bases.
Haskell:One of the most popular functional languages, Haskell, is another good
place for programmers to begin.
Jolt:When XML was the big data format, a functional language called XSLT
was one of the better tools for fiddling with large datasets coded in XML.
Cuda:Most people take the power of their video cards for granted.
MATLAB:was a hardcore language for hardcore mathematicians and scientists
who needed to juggle complex systems of equations and find solutions.
Q1)
1) Declaring the array at beginning of the class:
Public Class Arrays
Dim numbers(10) As Integer
Dim i, j, Aux As Integer
Initialize the array and put the array elements in the listbox when the form
loaded:
Private Sub Arrays_Load (sender As Object, e As EventArgs) Handles MyBase.
Load
66)
numbers = {14, 70, 10, 88, 15, 9, 20, 57, 33,
For i = e To 9
ListBox1.Items .Add (numbers (i))
ListBox1.Text &= vbNewLine
Next
End Sub
2)The button to sort the array in the descending order:
Q2)
1.To activate a menu item, double click on the item and an event will be added
inside the event I will write:
Me.Close()
2.Select the text property of the menu item and add an ampersand symbol (&)
before the x letter.
3.Select the ShortcutKeys property of the menu item, check the Alt and select
the E letter from the dropdown box.
Q3)
OpenFileDialog1.ShowDialog()
Q4)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
Q5)
Dim f1 As FileStream = New FileStream(“The file
name",FileMode.OpenOrCreate, FileAccess.ReadWrite)
Q6)
Imports System.IO
Q7)
Dim strFileName As String
Dim DidWork As Integer = OpenFileDialog1.ShowDialog()
If DidWork = DialogResult.Cancel Then
MessageBox.Show("Cancel Button Clicked")
Else strFileName = OpenFileDialog1.FileName
Process.Start(strFileName)
End If