Posts

OSI Model

ISO/OSI Model By-Biswajit Bhunia, Education Helper  OSI or Open System Interconnection হলো একটি Networking এর মডেল। Why Model  required for Networking?[ Networking এর জন্য কেনো Model দরকার?]      বাড়ি বানাতে গেলে যেমন Plan তৈরি করতে হয়, Bridge বানাতে গেলে যেমন Plan তৈরি করতে হয়,                সেরকম Networking এর জন্য দরকার Plan or Model.

Computer Application(HS)

A. Logic Gate and Combinational Circuits (15 marks) 1.      Logic Gates – OR, AND, NOT, XOR, X-NOR Gates 2.      Universal Gates – NAND and NOR Gate, Basic gates using Universal Gates 3.      Two Level Circuits -SOP,POS 4.      Combinational Circuits - a.      Half Adder & Full Adder (definition and representation), Full Adder using Half Adders only, b.     Half Subtractor & Full Subtractor (definition and representation) , c.      4 bit Adder and Subtractor Circuit, d.     Multiplexer (4x1) and De-multiplexer (1x4), e.      Decoder (Maximum 3 bits), and Encoder (Decimal to Binary, Octal to Binary) B. Networking (20 marks) 1.      Introduction to Networking (Definition, Advantage, Disadvantage, Application) 2.      Analogue and Digital Communicati...

Visual Basic Assignment #3

Question: Write a Program in VB to change the background/foreground colour of any of the controls of the form based on the colour selected from a list. Ans. 1. Open Visual Basic 6.0 Start→Programs/All Programs→Microsoft Visual Studio 6.0→Microsoft Visual Basic 6.0 Select Standard EXE → Open 2.  Take one Combo Box(Combo1) 3. Double click on Combo1 4. Write the following Code- Private Sub Form_Load() Combo1.AddItem(“BLACK”) Combo1.AddItem(“BLUE”) Combo1.AddItem(“GREEN”) Combo1.AddItem(“CYAN”) Combo1.AddItem(“MEGENTA”) Combo1.AddItem(“VIOLET”) End Sub Private Sub Combo1_Change() Form1.BackColor=QBColor(Combo1.ListIndex) End Sub 5. Save the Project File→Save Project→Save in→ Select Desktop→xi16.frm→Save→xi16.vbp→Save 6. Run The Project Press F5

Visual Basic Assignment #2

Biswajit Bhunia Assistant Teacher, Bankura Banga Vidyalay biswajit62418@gmail.com  Question: Write a  program to check whether a number is Odd or not Ans. Open Visual Basic 6.0 Start → Programs/All Programs → Microsoft Visual Studio 6.0 → Microsoft Visual Basic 6.0 Select Standard EXE → Open Take one Label(Label1) → Press F4 → Caption → Enter any Number Take one  TextBox(Text1) → Press F4 → Text → Press SpaceBar Take on CommandButton(Command1) → Press F4 → Caption Take ANOTHER Label(Label2) → Press F4 → Caption → THE nUMBER IS: Double Click on Command1 Write the following Code- PRIVATE SUB COMMAND1_CLICK() DIM N,R,I AS INTEGER N=VAL(TEXT1.TEXT) R=N MOD 2 IF R=0 THEN    LABEL2.CAPTION= “NUMBER IS EVEN” eLSE   LABEL2.CAPTION= “NUMBER IS “ODD” END IF END SUB 7.  Save the Project File → Save Project → Save in → Select Desktop → xi0617.frm → Save → xi0617.vbp → Save 8. Run The Project Press F5

visual Basic Assignment #1

Biswajit Bhunia Assistant Teacher, Bankura Banga Vidyalay my mail: biswajit62418@gmail.com  Question: Write a Program in VB to check whether a given number is Prime or Not. Ans. Open Visual Basic 6.0 Start → Programs/All Programs → Microsoft Visual Studio 6.0 → Microsoft Visual Basic 6.0 Select Standard EXE → Open Take one Label(Label1) → Press F4 → Caption → Enter any Number Take one  TextBox(Text1) → Press F4 → Text → Press SpaceBar Take on CommandButton(Command1) → Press F4 → Caption Double Click on Command1 Write the following Code- PRIVATE SUB COMMAND1_CLICK() DIM N,R,I AS INTEGER N=VAL(TEXT1.TEXT) R=0 FOR I=2 TO N/2 R=N MOD i IF R=0 THEN    MSGBOX “NUMBER IS NOT PRIME”   Exit sub END IF NEXT I IF R=0 THEN  MSGBOX “THE NUMBER IS NOT PRIME” ELSE MSGBOX “THE NUMBER IS PRIME” ENDIF END SUB Save the Project File → Save Project → Save in → Select Desktop → xi69.frm → Save → xi69.vbp → Save Run The Project Press F5