| About Us | Contact Us | Privacy Policy | Join Us+ |

WorldTrueSight

Get the latest news and reviews about technology!

LOOKING TO PUBLISH YOUR CONTENT?


Contact us, we publish your content for free!
Contact @ jibraanahmed97@gmail.com

31 Dec 2019

Implementation of Design Patterns
CREATIONAL CATEGORY

1.ABSTRACT FACTORY PATTERN

To create the objects of related families i.e Ward & OPD.Here PatientType class is factory class and wardPatient class and OPDPatient class is working as concrete factory.
   
Implementation of Design Patterns

2.SINGLETON

To create a single instance of Connection class.

Implementation of Design Patterns

STRUCTURAL CATEGORY

1.FACADE PATTERN
To provide an interface for different types of Surgery Patient.
Implementation of Design Patterns
2.PROXY PATTERN
To hide Receptionist Info from all other members except admin.
Implementation of Design Patterns


BEHAVIORAL CATEGORY

1.OBSERVER PATTERN

To notify Receptionist & Doctor about his/her salary. 
Implementation of Design Patterns


25 Dec 2019

HANGMAN GAME

      Hangman is a  guessing game for two or more players. Server send a word , phrase or sentence to client and the client tries to guess it by suggesting letters within a certain number of guesses or until the hangman completes. Server will check if the client guesses the right word or not.
      In our project, Server will give word to client from a list available in MY HANGMAN\My HangMaan\bin\Debug\List

HOW TO EXECUTE IT?

Watch this video 👇

FOR COMPLETE PROJECT 👉 CLICK HERE!

If you have any queries , feel free to ask in the comment section. Thanks 😃


19 Sep 2019

S = Single Responsibility Principle
O = Open Close Principle
L = Liskov Substitution Principle
I = Interface Segregation Principle
D = Dependency inversion Principle

SINGLE RESPONSIBILITY PRINCIPLE (SRP) :

The single responsibility principle (SRP) states that every class or module in a program should have responsibility for just a single piece of that program's functionality.

Example:

BAD DESIGN :

SOLID Design Principles with Designs and Coding Examples

BAD CODE:

SOLID Design Principles with Designs and Coding Examples

GOOD DESIGN :

SOLID Design Principles with Designs and Coding Examples

GOOD CODE :

SOLID Design Principles with Designs and Coding Examples

OPEN CLOSE PRINCIPLE (OCP):

In object-oriented programming, the open/closed principle states "software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification"; that is, such an entity can allow its behavior to be extended without modifying its source code.

BAD DESIGN :

SOLID Design Principles with Designs and Coding Examples

BAD CODE :

SOLID Design Principles with Designs and Coding Examples

GOOD DESIGN:

SOLID Design Principles with Designs and Coding Examples

GOOD CODE:

SOLID Design Principles with Designs and Coding Examples

LISKOV SUBSTITUTION PRINCIPLE (LSP):

The Liskov Substitution Principle (LSP) functions that use pointers to base classes must be able to use objects of derived classes without knowing it. The Liskov Substitution Principle is a way of ensuring that inheritance is used correctly.

BAD DESIGN:

SOLID Design Principles with Designs and Coding Examples

BAD CODE:

SOLID Design Principles with Designs and Coding Examples

GOOD DESIGN:

SOLID Design Principles with Designs and Coding Examples

GOOD CODE:

SOLID Design Principles with Designs and Coding Examples

INTERFACE SEGREGATION PRINCIPLE(ISP):

Interface segregation principle. In the field of software engineering, the interface-segregation principle (ISP) states that no client should be forced to depend on methods it does not use.

BAD DESIGN:

SOLID Design Principles with Designs and Coding Examples

BAD CODE:

SOLID Design Principles with Designs and Coding Examples

GOOD DESIGN:

SOLID Design Principles with Designs and Coding Examples

GOOD CODE:

DEPENDENCY INVERSION PRINCIPLE(DIP):

The general idea of this principle is as simple as it is important: High-level modules, which provide complex logic, should be easily reusable and unaffected by changes in low-level modules, which provide utility features. To achieve that, you need to introduce an abstraction that decouples the high-level and low-level modules from each other.

BAD DESIGN:

SOLID Design Principles with Designs and Coding Examples
BAD CODE:
SOLID Design Principles with Designs and Coding Examples

GOOD DESIGN:

SOLID Design Principles with Designs and Coding Examples

GOOD CODE:

SOLID Design Principles with Designs and Coding Examples

What is Fibonacci Series?

Fibonacci Series is a series of numbers where the first two Fibonacci numbers are 0 and 1, and each subsequent number is the sum of the previous two. 

For Example:

0
1
1
2
3
5
8
13
and so on ...

JavaScript Code:

Fibonacci Series JavaScript

  • In JavaScript, Variable declaration is done by using var keyword, followed by variable name.
  • In JavaScript, document.write is the output statement.
  • In JavaScript, prompt is used to get the input from the user.
  • In JavaScript, function FuncName() {  } is used for creating a function.

18 Mar 2019

Disable Windows 10 Auto-Updates Manually


Disable Auto updates of windows 10

I found a simple way that help you out stopping/disabling auto updates of windows 10. Most of the people find auto-updating annoying and irritating, to disable them simply follow the snaps below.

AUTO-UPDATES DISABLING PROCEDURE 

1) Open RUN and type gpedit.msc, then click OK.

How To Disable Windows 10 From Auto-Updating

2) Double click on Computer Configuration and then administrator templates.

3) Double click windows components and search for windows updates, open it then open configure automatic updates.
How To Disable Windows 10 From Auto-Updating
How To Disable Windows 10 From Auto-Updating


4) A dialog box will be open select disable option at top left corner settings and simply apply and press OK.
How To Disable Windows 10 From Auto-Updating

5) Close settings and give your device a restart!