


Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Prepara i tuoi esami
Studia grazie alle numerose risorse presenti su Docsity
Prepara i tuoi esami con i documenti condivisi da studenti come te su Docsity
Trova i documenti specifici per gli esami della tua università
Preparati con lezioni e prove svolte basate sui programmi universitari!
Rispondi a reali domande d’esame e scopri la tua preparazione
Riassumi i tuoi documenti, fagli domande, convertili in quiz e mappe concettuali
Studia con prove svolte, tesine e consigli utili
Togliti ogni dubbio leggendo le risposte alle domande fatte da altri studenti come te
Esplora i documenti più scaricati per gli argomenti di studio più popolari
Ottieni i punti per scaricare
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Riassunto in inglese con esempi dei linguaggi di programmazione, in particolare questo file si focalizza sulla quarta generazione quindi programmazione ad oggetto, visual programming, mark up languages, query languages.
Tipologia: Sintesi del corso
1 / 4
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!



Key Points of Fourth Generation Languages User-Friendly and Non-Technical : o 4GLs are designed for people to use without needing deep programming knowledge. They are often "non-procedural," which means you don't need to write out detailed steps for the computer to follow; instead, you focus on what you want done, not how to do it. Categories of 4GLs : Database Management Languages : These are used to work with databases, making it easier to manage large sets of data. Example of Query Language (SQL) : Imagine you have a big list of students in a school database, and you want to see only those who are 18 or older. With a query language like SQL , you can type something like: “SELECT names FROM students WHERE age > 18” to pull data out of a database. Common examples include SQL (Structured Query Language). Report Writers : These help create easy-to-read reports by organizing data in a specific format. Instead of manually creating complex reports, report writers handle the layout and formatting. A report writer is a tool that takes a lot of information, organizes it, and shows it to you in a neat, easy-to-read way. Think of it like a summary generator. Example of Report Writer : Let’s say your school needs a report showing the average grade of every class. Instead of going through each student’s grade, adding them up, and then calculating an average, a report writer tool can automatically format and calculate the data in a clean, readable report. This is like using an advanced version of Microsoft Excel, where the report is created automatically based on the data you have. Application Generators : These tools help create software based on specific requirements. You describe what you want, and the tool generates the code or software to meet those needs. It can simplify the process of creating programs without requiring you to write every line of code. Example of Application Generator (Microsoft Access or Zoho Creator) : Imagine your gym wants an app to track members’ personal bests for exercises like squats, deadlifts, and
bench presses. You could use an application generator, like Microsoft Access or Zoho Creator , to build a simple app. You’d just enter the exercise types, personal records, and the member names, and the tool creates the app structure for you. You don’t need to write any code; just describe what you want, and the tool does the rest. Markup Languages : These aren't “true” programming languages because they don’t perform logical operations or repetitive tasks. Instead, they’re used to format and present content. For example, HTML (HyperText Markup Language) helps structure text and images on websites by using tags (like for headings or for bold text). Example of Markup Language (HTML) : Think of a simple web page with text and images. With HTML (HyperText Markup Language), you can format parts of this page deciding which part go in bold etc. In summary, 4GLs are focused on making it easier for users to interact with computers and manage data by allowing simple commands or descriptive inputs. They’re widely used in database management and web development for their ease of use. To Sum Up: Query Languages (SQL) : Simple commands to filter and retrieve data from a database (like selecting only students over 18). Report Writers : Tools that auto-format data into reports (like average grades for each class). Application Generators : Drag-and-drop tools for creating simple software (like an app for managing library books). Markup Languages (HTML) : Tags used to format text and images on web pages with bold, eye-catching text. Object-Oriented Languages (OOP) What It Is : In object-oriented programming (OOP) , code is organized around "objects" instead of just instructions. An object is like a real-world item or concept, such as a car or a football player. Each object has its own data (attributes) and actions it can perform (methods). Key Concepts :
Object-Oriented Languages (OOP) : Organize code around objects with specific data and actions, using: encapsulation (grouping everything an object needs inside it) abstraction (simplifying shared traits). Abstraction is reusing common elements (like run, jump, attack) to make unique characters in programming i.e. in a video game. In programming, abstraction is like creating a simple way to use something complex. Abstraction Example: Picture you're designing characters in a game like Among Us. You have a general character design that includes basic actions such as move, sabotage, and report. Now, you create different roles like Crewmate, Impostor, and Scientist. They all share the same fundamental actions, but each has unique abilities too (like venting for the Impostor or scanning for the Scientist). Abstraction allows you to build these characters by reusing the basic design, instead of starting from scratch each time.: Visual Languages : Use pictures, icons, and blocks to build programs visually, making it easier for beginners to learn programming. It’s like building instructions out of pictures or icons instead of writing paragraphs.