SlideShare a Scribd company logo
1 of 10
B y D A N I E L I T A L Y SP A C E
IN F O R M A Z IO N I S U L C O R S O :


L a d u r a t a d e l c o r s o n o n è d e f in it a .


 T u t t o il m a t e r ia le s a r à d is p o n ib ile
                       s u l s it o :
h t t p : //w w w . v b n e t . d a n i e l i t a l y s p a c e . i t /


   P e r q u a ls ia s i n e c e s s it à p o t e t e
       s c r iv e r e a ll’ in d ir iz z o m a il
Cosa vuol dire risolvere una classe di problemi?

  Risolvere una classe di problemi significa trovare quel procedimento che
  consente di produrre i risultati, a partire da dati iniziale, attraverso un
  processo di elaborazione.


Cosa intendiamo per Algoritmo?

  Un algoritmo è, sostanzialmente, una sequenza di istruzioni finite.



Che cos’è il programma?

  Quello che noi chiamiamo programma, in realtà, è una sequenza di
  istruzioni eseguite da un elaboratore (computer).
Chi è un programmatore?

  Il programmatore è la persona fisica che è in grado di scrivere algoritmi
  mediante un linguaggio specifico chiamato linguaggio di
  programmazione.
  Visual Basic è uno dei tanti linguaggi di programmazione.
Com’è composto un programma?

  Il programma è composto da:




                                                     INTERFACCIA
             DATI               ISTRUZIONI
                                                       GRAFICA




                              PROGRAMMA




  Scrivere, in qualunque linguaggio, è obbligatorio rispettare: il LESSICO e la
  SINTASSI.
INTERFACCIA
                                         GRAFICA

Alcuni componenti principali dell’interfaccia grafica di un programma:
FORM: è la finestra vuota sulla quale il programmatore inserisce i controlli che l’utente
vede e usa.
CONTROLLI: Strumenti, come caselle di testo, bottoni, icone, etichette ecc… disegnate
sulla form.
I controlli si dividono in: controlli per l’input e controlli per l’output.
PROPRIETA’: Ogni controllo ha delle proprietà, delle impostazione particolari, per
cambiare il colore, grafia, scrivere, colore di sfondo, icona form, visibile o non visibile,
font, attivato o non attivato ecc….
GLI EVENTI
Gli eventi sono le azioni provocate dall’utente o dal sistema operativo. Ad esempio
cliccando su un bottone esce la scritta “ciao” , l’apertura di una font, l’inserimento di dati
ecc…


Esempio di Evento:
CLICK: l’oggetto viene selezionato utilizzando il mouse.
DATI



I dati si dividono, sostanzialmente, in due categorie:
COSTANTI: Se non cambia il valore durante l’esecuzione.
                  Dichiarazione: CONST nome AS tipo = Valore
                            Esempio: CONST PiGreco AS integer (intero) = 3,14


VARIABILI: Cambia il valore durante l’esecuzione
               Dichiarazione: DIM nome AS tipo = Valore
                         Esempio: DIM nomevariabile AS integer (intero) = 10


Alcuni tipi di variabili:
-Boolean           2Byte             Vero o Falso (True o False)
-Integer           4Byte
-Object            4Byte             Tipo generale nel quale è possibile memorizzare
                                     qualsiasi tipo.
-String
OPERATORI ARITMETICI, DI RELAZIONE E LOGICI:


- ARITMETICI
   +           per l’addizione.
   -           per la sottrazione.
   *           per la moltiplicazione.
   /           per la divisione con quoziente decimale.
              per la divisione tra numeri interi e per ottenere il quoziente intero.
   MOD         per il calcolo del resto della divisone tra interi.
   ^           per l’elevamento a potenza.
- DI RELAZIONE                                   - LOGICI
   =          Uguale                                AND       Prodotto logico
   <          Minore di                             (e).
   <=         Minore o uguale                       OR Somma Logica (o).
   >          Maggiore                              NOT       Negazione.
   >=         Maggiore o uguale                     XOR       Or esclusivo.
   <>         Diverso
#1 - VBNET - Cenni Teorici

More Related Content

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

#1 - VBNET - Cenni Teorici

  • 1. B y D A N I E L I T A L Y SP A C E
  • 2. IN F O R M A Z IO N I S U L C O R S O : L a d u r a t a d e l c o r s o n o n è d e f in it a . T u t t o il m a t e r ia le s a r à d is p o n ib ile s u l s it o : h t t p : //w w w . v b n e t . d a n i e l i t a l y s p a c e . i t / P e r q u a ls ia s i n e c e s s it à p o t e t e s c r iv e r e a ll’ in d ir iz z o m a il
  • 3. Cosa vuol dire risolvere una classe di problemi? Risolvere una classe di problemi significa trovare quel procedimento che consente di produrre i risultati, a partire da dati iniziale, attraverso un processo di elaborazione. Cosa intendiamo per Algoritmo? Un algoritmo è, sostanzialmente, una sequenza di istruzioni finite. Che cos’è il programma? Quello che noi chiamiamo programma, in realtà, è una sequenza di istruzioni eseguite da un elaboratore (computer).
  • 4. Chi è un programmatore? Il programmatore è la persona fisica che è in grado di scrivere algoritmi mediante un linguaggio specifico chiamato linguaggio di programmazione. Visual Basic è uno dei tanti linguaggi di programmazione.
  • 5. Com’è composto un programma? Il programma è composto da: INTERFACCIA DATI ISTRUZIONI GRAFICA PROGRAMMA Scrivere, in qualunque linguaggio, è obbligatorio rispettare: il LESSICO e la SINTASSI.
  • 6. INTERFACCIA GRAFICA Alcuni componenti principali dell’interfaccia grafica di un programma: FORM: è la finestra vuota sulla quale il programmatore inserisce i controlli che l’utente vede e usa. CONTROLLI: Strumenti, come caselle di testo, bottoni, icone, etichette ecc… disegnate sulla form. I controlli si dividono in: controlli per l’input e controlli per l’output. PROPRIETA’: Ogni controllo ha delle proprietà, delle impostazione particolari, per cambiare il colore, grafia, scrivere, colore di sfondo, icona form, visibile o non visibile, font, attivato o non attivato ecc….
  • 7. GLI EVENTI Gli eventi sono le azioni provocate dall’utente o dal sistema operativo. Ad esempio cliccando su un bottone esce la scritta “ciao” , l’apertura di una font, l’inserimento di dati ecc… Esempio di Evento: CLICK: l’oggetto viene selezionato utilizzando il mouse.
  • 8. DATI I dati si dividono, sostanzialmente, in due categorie: COSTANTI: Se non cambia il valore durante l’esecuzione. Dichiarazione: CONST nome AS tipo = Valore Esempio: CONST PiGreco AS integer (intero) = 3,14 VARIABILI: Cambia il valore durante l’esecuzione Dichiarazione: DIM nome AS tipo = Valore Esempio: DIM nomevariabile AS integer (intero) = 10 Alcuni tipi di variabili: -Boolean 2Byte Vero o Falso (True o False) -Integer 4Byte -Object 4Byte Tipo generale nel quale è possibile memorizzare qualsiasi tipo. -String
  • 9. OPERATORI ARITMETICI, DI RELAZIONE E LOGICI: - ARITMETICI + per l’addizione. - per la sottrazione. * per la moltiplicazione. / per la divisione con quoziente decimale. per la divisione tra numeri interi e per ottenere il quoziente intero. MOD per il calcolo del resto della divisone tra interi. ^ per l’elevamento a potenza. - DI RELAZIONE - LOGICI = Uguale AND Prodotto logico < Minore di (e). <= Minore o uguale OR Somma Logica (o). > Maggiore NOT Negazione. >= Maggiore o uguale XOR Or esclusivo. <> Diverso