0% found this document useful (0 votes)
12 views4 pages

Bscs Visual Prog. (Basics)

Visual programming languages (VPL) utilize graphics or blocks instead of traditional text-based coding, making programming more accessible and beginner-friendly. Examples include Scratch, Blockly, and mBlock, which are used for various applications such as multimedia, education, and video game development. While VPLs offer advantages like ease of use and built-in objects, they also have disadvantages such as higher memory usage and slower execution compared to regular programming languages.

Uploaded by

Ch Uzair
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

Bscs Visual Prog. (Basics)

Visual programming languages (VPL) utilize graphics or blocks instead of traditional text-based coding, making programming more accessible and beginner-friendly. Examples include Scratch, Blockly, and mBlock, which are used for various applications such as multimedia, education, and video game development. While VPLs offer advantages like ease of use and built-in objects, they also have disadvantages such as higher memory usage and slower execution compared to regular programming languages.

Uploaded by

Ch Uzair
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

BSCS

Subject: Visual Programming


Semester 5th Lecture #1
Date:23/01/2025 Mid Term
 Topic: Visual Programming Basics
Definition:
Any language that uses the graphics or blocks that are already defined with the
code and you just need to use those blocks without worrying about the lines of
code is known as a visual programming language. In today’s era majority of the
programming languages are text-based i.e. we have to write the lines of code to
perform the specific task like in C or C++. Programming if you want to print a table
of 2 then you have to write the complete text using syntax and functions of that
language but in visual programming language this task is replaced by graphics or
blocks like components then can be joined logically to perform the task.

Examples of Visual Programming Language:


 Scratch: With the help of this language users can create, stories, games,
and animations without writing any lines of code in this you just have
to create the logic and assemble the blocks.
 Blockly: Used to create block-based programming language and
editors, and also to generate code from blocks to javascript lua dart
python and PHP, etc.
 mBlock language: It is used in programming robots.
 Bubble language: It is used to create web applications.
 Minibloq language: It is used as a graphical programming environment
for Arduino.
Applications of Visual Programming language:

VPL can be used in multiple domains like multimedia, educational purpose,


video games, automation. Let’s see them in brief:
 Multimedia:- VPL helps users create multimedia without worrying
about the real code or other complex features. It narrows down to
specific functions and with the help of those functions, multimedia is
created.
 Educational Purpose:-Scratch VPL, etc are used to help students in
their projects and make them familiar with the coding.
 VideoGames:-VPL helps to create the videogames without writing lines
of codes Ex- Scratch VPL is used to make videogames.

Advantages of visual programming language:

 Easy to convert ideas into reality for example you don’t know how to
code so you can start with VPL(Visual Programming Language). and
then switch to actual coding.
 Visuals are easy to grasp i.e. to develop something in visual
programming language requires less efforts.
 It includes a variety of built in objects that are required while creating
something using VPL.
 It is a beginner-friendly also anyone will be able to derive the logic
without worrying about writing lines of code.
 Adding a user-specific code is also available and simple as it allows to
create of blocks as per the convenience of the user.

Disadvantages of visual programming language:

 These languages require more memory as they use graphics, as a


result, their execution is also slow and a large amount of memory is
occupied by them.
 They can only work in an operating system like windows, mac, or any
other operating system which supports graphics.
 As the inbuilt functions are not sufficient so you have to add your
custom code as a result it is cumbersome.
Difference between regular programming languages and visual
programming languages:
Sr.
No Regular Languages Visual Programming Language

It is a programming language It is a programming language that uses


1.
that only uses text. graphics or blocks in place of text.

It is not beginner-friendly
2. It is a beginner-friendly language
language

There are not that much customizable as


Customization and flexible
the blocks or graphics that contain the
3. applications can be created
codes are limited and after that, we need
using regular languages
to add our custom code as a block.

This is not fast and efficient as every block


These are quite fast and
4. has some code with it so it takes time and
efficient
also it has graphics with it.

The interface is not good i.e.


The interface is great as the user has to
only text and syntax of
5. just join the blocks and frame the logic
language we have to get
without writing the code
familiar with it.

Examples: Javascript, C, C++, Java, Examples: Mblock, Blockly,


6.
Python Etc. Scratch Etc

You might also like