0% found this document useful (0 votes)
5 views

Assignment 1 Basic GO

The document outlines a practical session for GoLang programming, detailing a total of 90 programs across various categories including basic programs, data types, type casting, user input, decision making, looping statements, arrays, strings, and pointers. It specifies the number of programs required for each category and includes additional programs from three sets (A, B, C) with specific tasks. The total includes 76 programs plus 14 from the sets.

Uploaded by

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

Assignment 1 Basic GO

The document outlines a practical session for GoLang programming, detailing a total of 90 programs across various categories including basic programs, data types, type casting, user input, decision making, looping statements, arrays, strings, and pointers. It specifies the number of programs required for each category and includes additional programs from three sets (A, B, C) with specific tasks. The total includes 76 programs plus 14 from the sets.

Uploaded by

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

List of GoLang Programs for

Practical Session: -
1. Basic Programs using printf( ) & println ( ) – 5 Programs
2. Data Types Related Programs- At least 05 programs
3. Type Casting Related Programs- At Least 05 Programs
4. Program related to Constant & Variable declaration and its
types- (At least 02 Programs)
5. User input Related Programs- At least 02
6. Using Decision Making Statement
1) if statement – (05 Programs)
2) if-----else statement- (05 Programs)
3) nested if—else statement- (1 Programs)
4) switch-----case Statement- (03 Programs –Menu
Driven)
7. Using Looping Statements
1) While loop- (05 Programs)
2) Do---while - (05 Programs)
3) for loop - (05 programs)
8. Using Array - 1D (05 Programs)
9. Using String- (15 Programs)
10. Pointer – (05 Programs)

76 Programs +14 Programs from SET A, B, C =


90 Programs
SET A
1. WAP in go language to print Student name, rollno,
division and college name
2. WAP in go language to print whether number is
even or odd.
3. WAP in go language to swap the number without
temporary variable.
4. WAP in go Language to print address of a variable.
SET B
1. WAP in go to print table of given number.
2. WAP in go language to print PASCALS triangle.
3. WAP in go language to print Fibonacci series of n
terms.
4. WAP in go language to illustrate pointer to pointer
concept.
5. WAP in go language to explain new function

SET C
1. WAP in go language to concatenate two strings
using pointers.
2. WAP in go language to accept two strings and
compare them.
3. WAP in go language to accept user choice and
print answer of using arithmetical operators.
4. WAP in go language to check whether accepted
number is single digit or not.
5. WAP in go language to check whether first string is
substring of another string or not.

TOTAL= 76 Programs +14 Programs from SET A, B, C =


90 Programs

You might also like