Page 103 - 2502_Pakistan-kifayat_C-8
P. 103

# Texture Programming




                  Chapter 7




                   #Chapter Profile
                      Introduction to Texture Programming
                      Connection between Visual and Textual Programming
                      Overview of Programming Languages
                      Converting Visual to Textual Programming Constructs
                      Writing Simple Programs using Textual Languages





                               Take Off                                                           Century   #Critical Thinking
                                                                                                     21 st
                                                                                                    Skills
                      What will be the output of the following script?

























                 Learning programming often begins by dragging and dropping blocks, like in Scratch. But when we want
                 to create bigger and more detailed projects, we need to write real code using text, this is called textual
                 programming. In this chapter, you will learn the difference between visual and textual programming, how
                 to convert block code into Python, and how to write simple programs using loops, conditions, and functions.

                      INTRODUCTION TO TEXTURE PROGRAMMING


                 Textual programming is a fundamental approach to software development where programmers write
                 code using text-based programming languages such as Python, Java, C++, JavaScript, and many others.
                 In this programming, the programmer types a series of instructions or commands that the computer
                 can understand  and  execute to perform specific  tasks. Unlike  visual or block-based  programming,
                 which uses drag-and-drop graphical elements, textual programming requires a good understanding of
                 syntax rules, grammar, and logic to write accurate and efficient code.
   98   99   100   101   102   103   104   105   106   107   108