Total Pageviews

Thursday, March 20, 2025

ISC COMPUTER SCIENCE SUGGESTION 2025

 .

Boolean algebra laws

valid invalid expression checking 

tautology

infix to postfix conversion

row major and column major address calculation

k-map 4 variable

full adder

inheritance type, inheritance interface difference

protected member vs private member

universal gate

stack push pop

tree traversal- in order, pre order, post order

tree: child, parent, sibling, , root of left sub tree ,root of right sub tree, depth, height, level, internal node ,external node

time complexity, space complexity, big o definition

linear search binary search complexity

link list deletion

RECURSION - gcd, a^i



Saturday, March 8, 2025

print series N N-1 N-2 N-3 ..............10 9 8 7 6 5 4 3 2 1 IN PROLOG

 

print series   N N-1 N-2 N-3 ..............10 9 8 7 6 5 4 3 2 1 IN PROLOG


f(X):-

    write('Enter a value'),

    nl,

    read(X),

    g(X).


g(X):-

    X > 0,

    write(X),

    nl,

    X1 is (X - 1),

    g(X1).

LOOP PROGRAMS IN PROLOG

 1. n n-1 n-2 ....5 4 3 2 1 series in prolog -CLICK

2. 1 2 3 4 5 ... 10.

3. 0 2 4 6 8 10.

4.1 3 5 7 9 11 ....

5.1 2 3 ...n

6. Factorial of a number.CLICK

7. Fibonacci series. CLICK

8.1+2+3+4....+N

9. LCM of two numbers in prolog

10. GCD of two numbers in prolog

11. prime number checking.

SMALLEST OF THREE NUMBERS IN PROLOG

 

SMALLEST OF THREE NUMBERS IN PROLOG:

smallest_three(A, B, C):-

    (A =< B),(A =< C),

    write(A);

    (B =< A),(B =< C),

    write(B);

    (C =< A),(C =< B),

    write(C).

LARGEST OF THREE NUMBERS IN PROLOG

 

LARGEST OF THREE NUMBERS IN PROLOG:

largest_three(A, B, C):-

    (A >= B),(A >= C),

    write(A);

    (B >= A),(B >= C),

    write(B);

    (C >= A),(C >= B),

    write(C).

POSITIVE NEGATIVE ZERO CHECKING IN PROLOG

 POSITIVE NEGATIVE ZERO CHECKING IN PROLOG:

positive_negative_zero(A):-

    A > 0,

    write('Positive');

    A =:= 0,

    write('Zero');

    A < 0,

    write('Negative').


ODD EVEN CHECKING IN PROLOG

 ODD EVEN CHECKING IN PROLOG:

odd_even_checking(A):-

    X is A mod 2,

    X =:= 0,

    write('Even');

    write('Odd').

LARGEST OF TWO NUMBERS IN PROLOG

 


largest(A, B):-

    A > B,

    write(A);

    write(B)

IF ELSE PROGRAM IN PROLOG

1. LARGEST OF TWO NUMBER IN PROLOG:  CLICK

2. SMALLEST OF TWO NUMBER IN PROLOG:

3. ODD EVEN CHECKING IN PROLOG :CLICK

4. POSITIVE NEGATIVE ZERO CHECKING IN PROLOG:CLICK

5. LARGEST OF THREE NUMBERS IN PROLOG: CLICK

6. SMALLEST OF TWO NUMBERS IN PROLOG:CLICK


Wednesday, March 5, 2025

SEC SAMPLE QUESTION

compare  data and information.

 input devices, output device, storage devices .

short note-LAN,MAN,WAN, BCD ,IP address,ASCII

 different network topology

Compare 1’s complement technique and 2’s complement technique.

uses, advantages ,disadvantages of ecommerce. 

 impact of Information Technology on business? 

Design circuit ,truth table

binary arithmetic-add,sub,mul,div

arithmetic in 1’s complement technique and 2’s complement technique.