{"id":440,"date":"2024-08-22T13:58:45","date_gmt":"2024-08-22T11:58:45","guid":{"rendered":"https:\/\/iag-recursos.azurewebsites.net\/?page_id=440"},"modified":"2024-09-22T14:39:01","modified_gmt":"2024-09-22T12:39:01","slug":"3-4-examples-of-prompts","status":"publish","type":"page","link":"https:\/\/iag.recursos.uoc.edu\/en\/3-4-examples-of-prompts\/","title":{"rendered":"3.4. Examples of prompts"},"content":{"rendered":"<div>\n<div class=\"featured featured-grey\"><p><strong>Prompt<\/strong>: Create a story for a six-year-old boy to help him overcome shyness.<\/p>\n<\/div>\n<\/div>\n<p><strong>Output<\/strong>:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-447 size-full\" src=\"\/wp-content\/uploads\/2024\/09\/03_prompts_01_EN.png\" alt=\"\" width=\"754\" height=\"230\" srcset=\"\/wp-content\/uploads\/2024\/09\/03_prompts_01_EN.png 754w, \/wp-content\/uploads\/2024\/09\/03_prompts_01_EN-300x92.png 300w\" sizes=\"(max-width: 754px) 100vw, 754px\" \/><\/p>\n<div>\n<div class=\"featured featured-grey\"><p><strong>Prompt<\/strong>: Create a story for six-year-old children in the style of Ren\u00e9 Goscinny, creator of Asterix and Obelix. The hero&#8217;s name is Pere, a six-year-old boy with blue eyes and blond hair. The style of the story should be adventurous and exciting, based on the fantasy genre. In the story Pere learns how to manage emotions, as he is very shy. Some of the characters to include are his father, Joan; mother, Marta; his sister, \u00c8lia, and Ignasi, his best friend. Pere enjoys reading and athletics. Start the story with an entertaining title and divide it so each part starts on a new page, leaving a space to add images.<\/p>\n<\/div>\n<\/div>\n<p><strong>Output<\/strong>:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-444 size-full\" src=\"\/wp-content\/uploads\/2024\/09\/03_prompts_02_EN.png\" alt=\"\" width=\"757\" height=\"695\" srcset=\"\/wp-content\/uploads\/2024\/09\/03_prompts_02_EN.png 757w, \/wp-content\/uploads\/2024\/09\/03_prompts_02_EN-300x275.png 300w\" sizes=\"(max-width: 757px) 100vw, 757px\" \/><\/p>\n<div>\n<div class=\"featured featured-grey\"><p><strong>Prompt<\/strong>: A ten-year-old boy with brown eyes and light brown hair. Sitting on the floor gazing at the stars through the window. In a watercolour style.<\/p>\n<\/div>\n<\/div>\n<p><strong>Output<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-173 size-full\" src=\"\/wp-content\/uploads\/2024\/08\/03_prompts_03_CA.jpg\" alt=\"\" width=\"587\" height=\"587\" srcset=\"\/wp-content\/uploads\/2024\/08\/03_prompts_03_CA.jpg 587w, \/wp-content\/uploads\/2024\/08\/03_prompts_03_CA-300x300.jpg 300w, \/wp-content\/uploads\/2024\/08\/03_prompts_03_CA-150x150.jpg 150w\" sizes=\"(max-width: 587px) 100vw, 587px\" \/><\/p>\n<div>\n<div class=\"featured featured-grey\"><p><strong>Prompt<\/strong>: A 25-year-old Catalan woman, in a yellow dress, studying at her desk with a blue picture stamped with the letters &#8220;UOC&#8221;. Foreground, natural light, cool wall colours, production quality, depth of field, professional and realistic photography, lots of detail, long exposure time, f\/1.8, diffuse backlighting, studio lighting.<\/p>\n<\/div>\n<\/div>\n<p><strong>Output<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-170 size-full\" src=\"\/wp-content\/uploads\/2024\/08\/03_prompts_04_CA.jpg\" alt=\"\" width=\"559\" height=\"559\" srcset=\"\/wp-content\/uploads\/2024\/08\/03_prompts_04_CA.jpg 559w, \/wp-content\/uploads\/2024\/08\/03_prompts_04_CA-300x300.jpg 300w, \/wp-content\/uploads\/2024\/08\/03_prompts_04_CA-150x150.jpg 150w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/p>\n<div>\n<div class=\"featured featured-grey\"><p><em><strong>Prompt<\/strong><\/em>: Portrait of a pale Harry Potter, round dark eye circles, looking left with a solitary expression. He is in the dimly lit Hogwarts dining room with shady background figures moving away, creating a sense of isolation. The room has many floating ceiling lights and the different flags of Hogwarts\u2019 schools. The scene has a grainy cinematic quality, reminiscent of a 35mm film and captures the mood of a dark night. The composition evokes a dark, introspective atmosphere.<\/p>\n<\/div>\n<p><strong>Output<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-185 size-full\" src=\"\/wp-content\/uploads\/2024\/08\/PID_00302336_8.jpg\" alt=\"\" width=\"425\" height=\"319\" srcset=\"\/wp-content\/uploads\/2024\/08\/PID_00302336_8.jpg 425w, \/wp-content\/uploads\/2024\/08\/PID_00302336_8-300x225.jpg 300w\" sizes=\"(max-width: 425px) 100vw, 425px\" \/><\/p>\n<div class=\"featured featured-grey\"><p><strong><em>Prompt<\/em><\/strong>: \u201cIn the following program made in PASCAL programming language that is intended to count the number of lowercase or uppercase characters in a sentence ended with a stop entered by the user, could you please indicate where the errors are?\u201d<\/p>\n<\/div>\n<\/div>\n<pre><code>Program lettera;\r\nUses crt;\r\nvar cont:integer;\r\nletter:char;\r\nBegin clrscr;\r\nwriteln(\u2018As counter. Write a line ending in a full stop\u2019); writeln(\u2018__________________________________________________\u2019);\r\ncont:=0;\r\nread(letter);\r\nwhile (letter&lt;&gt;\u2018.\u2019) ;\r\nbegin if ((letter=\u2018a\u2019) or (letter=\u2018A\u2019)) then begin cont:=cont+1;\r\nend; read(letter);\r\nend;\r\nwrite(\u2018Amount of As: \u2018,cont); readkey;\r\nend.<\/code><\/pre>\n<p><strong>Output<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-441 size-full\" src=\"\/wp-content\/uploads\/2024\/09\/03_prompts_05_EN.jpg\" alt=\"\" width=\"752\" height=\"919\" srcset=\"\/wp-content\/uploads\/2024\/09\/03_prompts_05_EN.jpg 752w, \/wp-content\/uploads\/2024\/09\/03_prompts_05_EN-245x300.jpg 245w\" sizes=\"(max-width: 752px) 100vw, 752px\" \/><\/p>\n<p>The program should now correctly count the number of &#8220;a&#8221; characters (lowercase or uppercase) before the full stop marking the end of the entry.<\/p>\n<div class=\"featured featured-grey\"><p>Additional information can be found here:<\/p>\n<p>G\u00f3mez Cardosa, D. and Garcia Brustenga, G. (2023). <em>How to question AI. Useful prompts for teaching staff when using generative AI. <\/em>\u00a0<a href=\"https:\/\/openaccess.uoc.edu\/bitstream\/10609\/147885\/1\/Manual%20IA_PROMTS_ENG.pdf\" target=\"_blank\" rel=\"noopener\">https:\/\/openaccess.uoc.edu\/bitstream\/10609\/147885\/1\/Manual%20IA_PROMTS_ENG.pdf<\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Output: &nbsp; Output: &nbsp; Output: Output: Output: Program lettera; Uses crt; var cont:integer; letter:char; Begin clrscr; writeln(\u2018As counter. Write a line ending in a full stop\u2019); writeln(\u2018__________________________________________________\u2019); cont:=0; read(letter); while (letter&lt;&gt;\u2018.\u2019) ; begin if ((letter=\u2018a\u2019) or (letter=\u2018A\u2019)) then begin cont:=cont+1; end; read(letter); end; write(\u2018Amount of As: \u2018,cont); readkey; end. Output: The program should now correctly [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"acf":[],"_links":{"self":[{"href":"https:\/\/iag.recursos.uoc.edu\/en\/wp-json\/wp\/v2\/pages\/440"}],"collection":[{"href":"https:\/\/iag.recursos.uoc.edu\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iag.recursos.uoc.edu\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iag.recursos.uoc.edu\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/iag.recursos.uoc.edu\/en\/wp-json\/wp\/v2\/comments?post=440"}],"version-history":[{"count":3,"href":"https:\/\/iag.recursos.uoc.edu\/en\/wp-json\/wp\/v2\/pages\/440\/revisions"}],"predecessor-version":[{"id":492,"href":"https:\/\/iag.recursos.uoc.edu\/en\/wp-json\/wp\/v2\/pages\/440\/revisions\/492"}],"wp:attachment":[{"href":"https:\/\/iag.recursos.uoc.edu\/en\/wp-json\/wp\/v2\/media?parent=440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}