0% found this document useful (0 votes)
1 views3 pages

Xith Assignment

The document outlines an assignment for a CS1 course covering topics in program analysis, networking, Visual Basic (VB), C++, and number systems. It includes questions and tasks related to algorithms, flow charts, programming concepts, network types, VB features, and C++ syntax. Additionally, it provides programming exercises for practical application in both VB and C++.

Uploaded by

achetn1721
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)
1 views3 pages

Xith Assignment

The document outlines an assignment for a CS1 course covering topics in program analysis, networking, Visual Basic (VB), C++, and number systems. It includes questions and tasks related to algorithms, flow charts, programming concepts, network types, VB features, and C++ syntax. Additionally, it provides programming exercises for practical application in both VB and C++.

Uploaded by

achetn1721
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

Assignment for CS1

Program analysis

a. What is program? What are the steps involved in program development.


b. What is algorithm? Characteristics of algorithm
c. What is flow chart? Explain all symbols with example.
d. Explain structured (simple, selection, repetition logic) and modular
programming in detail.
e. Explain sequence ,selection ,iteration logic
Networking

a. Explain Centralized and Distributed installation in detail.


b. List applications of network and explain Email and FTP in detail.
c. Distinguish between LAN & WAN.
d. What is network ? Advantages of network
VB
e. Explain form load ,unload and click event with example in VB
f. What are features of VB? Design a form
g. In VB and write a run time code to add two numbers.
h. What is syntax of if –else in VB .
i. What is syntax of nested if else in VB
j. What is difference between text box and label box
k. What are different editions of VB
l. What are features of VB.
m. Explain datatypes in VB
n. Explain inbuilt functions in VB
o. What is Variant datatype
p. Explain option button and check box.

C++
q. Explain operators operator with example.
r. Datatypes in C++
s. Variable delcation
t. Operators in C++ with example
u. While, do while for syntax
v. Write a function to display factorial of entered number in C++
Number system
f. What is 1s complement explain rules
g. Conversion of decimal to binary ,octal,hex. Conversion of hex,octal to
binary.
h. Binary addition and subtraction
i. What is 2s complement method. Explain rules of 2s complement subtraction
j. Explain BCD number system with advantages and disadvantages
k. Hex number system,octal numbr system

Programs

1. What is syntax of for loop in [Link] form in VB write run time code to
display average of three entered numbers.
2. What is syntax of while loop in C++ and VB. Write a run time code in VB
using while to display 10 to 1 numbers using list box
3. Design form in VB write run time code to display rollno,name of the
student,Marks of three [Link] Total and Percentage. Display
Result “pass” or “fail”
4. What is string in C++? Write a program in C++ to convert string to upper case
or lower case.
5. Write a menu driven program in C++ using switch for square,cube,square root
6. Design form in VB write run time code to display
addition,subtraction,multiplication,division,cube using select case statement
in VB or option button in VB.
7. Write a run time code to calculate run rate .If overs and runs are entered and
if overs>50,it should display message.

Overs

Runs

Run Rate

click clear Exit

[Link] a program to display fowling output


A
B C
D E F
G H I J
K L M N O
PQ R S T U
1
12
123
12 45
*****
***
***
**
*
[Link] form in VB and write a run time code to display area of rectangle in
VB.

[Link] of two numbers without multiplication sign

10. Division of two numbers without division sign

11. Smallest of three numbers using nested if -esle

******************************************************************

You might also like