UrbanPro
true

Take BCA Tuition from the Best Tutors

Learn BCA Tuition with Free Lessons & Tips

Search in

All

Lessons

Discussion

Answered on 02 Jan Learn BCA Tuition

Mayuri Dalvi

"Lecturer with more than 6 yrs. Experience in reputed institute"

Connectivity between two adjacent points. There are two types 1.wired connectivity 2.wireless connectivity With the help of connectivity work in process to get result.
Answers 5 Comments
Dislike Bookmark

Lesson Posted on 18/11/2021 Learn Selenium +4 Selenium with Java Java Java Programming Core Java

doWhile example in Java

Sarthak Chadha

I am Sr. QA Lead having experience in multiple companies/projects. Currently working in Top MNC in Noida. Experience...

public class doWhilePracticleEx { public void test() { } public static void main(String args) { String q1 = "Who is PM of India?"; String a1 = "Sonia Gandhi"; String a2 = "Rahul Gandhi"; String a3 = "Amit Shah"; String a4 = "Narendra Modi"; System.out.println(q1); System.out.println(a1); System.out.println(a2);... read more

public class doWhilePracticleEx {

public void test() {

}

public static void main(String args[]) {

String q1 = "Who is PM of India?";
String a1 = "Sonia Gandhi";
String a2 = "Rahul Gandhi";
String a3 = "Amit Shah";
String a4 = "Narendra Modi";


System.out.println(q1);
System.out.println(a1);
System.out.println(a2);
System.out.println(a3);
System.out.println(a4);
String user="";

int attemptCount=1; //no of attempts

do {
if(attemptCount==1) {
System.out.println("Enter Your answer");
}
Scanner sc = new Scanner(System.in);
//control + shift+ o
user = sc.nextLine();
attemptCount++;


} while(!user.equalsIgnoreCase(a4));
System.out.println("Your answer is correct!!!!!");
}

}

read less
Comments
Dislike Bookmark

Lesson Posted on 18/11/2021 Learn Selenium +4 Selenium with Java Java Java Programming Core Java

ListIterator Example

Sarthak Chadha

I am Sr. QA Lead having experience in multiple companies/projects. Currently working in Top MNC in Noida. Experience...

public class ListIteratorEx { public static void main(String args) { List<String> li = new ArrayList<String>(); li.add("java1"); li.add("java2"); li.add("java3"); li.add("java4"); ListIterator itr = li.listIterator(); while(itr.hasNext()) { System.out.println(itr.next()); } System.out.println(itr.nextIndex());... read more

public class ListIteratorEx {

public static void main(String args[]) {

List<String> li = new ArrayList<String>();
li.add("java1");
li.add("java2");
li.add("java3");
li.add("java4");


ListIterator itr = li.listIterator();
while(itr.hasNext()) {
System.out.println(itr.next());
}

System.out.println(itr.nextIndex());

System.out.println(itr.previousIndex());

}

}

read less
Comments
Dislike Bookmark

Overview

Questions 941

Lessons 168

Total Shares  

+ Follow 86,632 Followers

Lesson Posted on 06/07/2021 Learn Java +2 Core Java Java Programming

Java Advantages

Ranjit Singh

I have rich Experience in giving tuition to primary to secondary school along with students from various...

In this video, learn about Java and its advantages. Also, check out the difference between Java and C++, Java development kit, Java Run Time Environment (JRE) with a proper demonstration program for better clarity. read more

In this video, learn about Java and its advantages. Also, check out the difference between Java and C++, Java development kit, Java Run Time Environment (JRE) with a proper demonstration program for better clarity.

 

read less
Comments
Dislike Bookmark

Lesson Posted on 31/05/2021 Learn BCA Tuition +3 BTech Tuition BTech Computer Science Engineering BSc Tuition

Lets Talk About Software Design-patterns

Abhinaw Tripathi

I am a working professional and having around 10.5 year's of experience as a software engineer. And...

What are Design Patterns? Design Pattern is a used and tested solution for a known problem. In simple words, you can say a general reusable solution to a commonly occurring problem within a given context in software design. Why Design Patterns? Because good software design requires considering issues... read more

What are Design Patterns?

Design Pattern is a used and tested solution for a known problem. In simple words, you can say a general reusable solution to a commonly occurring problem within a given context in software design. 

Why Design Patterns?

Because good software design requires considering issues that may not become visible until later in the implementation.

It prevents issues that can cause a significant problem in the software and also improves the code readability.

Different types of Design pattern by GOF(Gang of Four):

  1. Creational Design Pattern
  2. Structural Design Pattern
  3. Behavioural Design Pattern

Again they have also categorised into different types, such as:

Creational Design Pattern, DP = Design Pattern

  • Factory Method DP
  • Abstract Factory DP
  • Builder DP
  • Prototype DP
  • Singleton DP

Structural Design Pattern:

  • Adapter DP
  • Bridge DP
  • Composite DP
  • Decorator DP
  • Facade DP
  • Flyweight DP
  • Proxy DP

Behavioural Design Pattern:

  • Observer DP
  • State DP
  • Strategy DP
  • Iterator DP
  • Chain of Responsibility DP
  • Command DP
  • Interpreter DP
  • Mediator DP
  • Memento DP
  • Template Method DP
  • Visitor DP

Is it necessary to use design pattern always? No, because we should not try to force the code into a specific way; instead, notice which practices crystallise out of your code. I mean, writing a program that does X using the pattern Y is not a good idea.

The question is, when did you start doing everything using patterns? Not all solution fit neatly into an existing design pattern, and adopting a practice may mean that you muddy the cleanness of your solution.

What is the difference between Design-Pattern and Framework?

  1. DP are the recurring solution to a problem that can come in an application or software life. A framework is a group of components that helps each other provide a reusable architecture for the application.
  2. DP are logical. The framework is more physical.
  3. DP is independent of language, whereas the framework depends on the language.
  4. DP is generic and can be used in any application, whereas the framework is domain-specific.

To be continued.

 

read less
Comments
Dislike Bookmark

Answered on 20/01/2021 Learn Accountancy

Following figures relate to Rajkot Mills Ltd. For the year 2019: Fixed factory overhead 400,000, fixed... read more

Following figures relate to Rajkot Mills Ltd. For the year 2019: Fixed factory overhead 400,000, fixed Selling and Distribution Overhead 200,000, variable cost per unit 12, selling price per unit 20. Calculate:

  • Break-even point in units.
  • Units to be sold to earn a target net income of Rs. 5000 per month during a year.
  • The number of units to earn a net income of 25% on cost.
  • Selling price per unit if the break-even point is to be brought down by 15,000 units.

read less

Abhinav Kumar Jain

ACT and SAT tutor with Economics undergraduate degree and one year of experience teaching the ACT.

1. Break-even point is when the total cost = total revenue. Let x be the number of units manufactured. 200,000 + 400,000 + 12x (which is the total variable cost of x units) = 20x (which is the total revenue)This gives us x = 600,000/8 = 75,000 units. 2. Net income of 5,000 per month means the income... read more

1. Break-even point is when the total cost = total revenue. Let x be the number of units manufactured.
200,000 + 400,000 + 12x (which is the total variable cost of x units) = 20x (which is the total revenue)
This gives us x = 600,000/8 = 75,000 units.
2. Net income of 5,000 per month means the income of 60,000 in the year. Since net income is revenue minus cost, this means 20x - 12x - 600,000 = 60,000, where x is number of units sold.
This gives us x = 660,000/8 = 82,500 units.
3. A net income of 25% on cost means a net income of 0.25( 600,000 + 12x) = 150,000 + 3x
Similar to the previous question, we now get the equation
20x - 12x - 600,000 = 150,000 + 3x, which gives us
5x = 750,000 or x = 150,000 units
4. Let the selling price per unit be y. If 15,000 units bring down the breakeven point (i.e. x), it will be 60,000 units. Substituting that in the equation for breakeven point will give us
600,000 + 12(60,000) = 60,000y
Therefore, y = 22.

read less
Answers 1 Comments
Dislike Bookmark

Lesson Posted on 30/12/2020 Learn Java +4 Core Java Java Programming JSP (Java Server Pages) Programming in JAVA

Java : Compile-time Versus Runtime optimization

Surinder Pal Singh

I have 10 years of experience, working with Top IT companies. During my work it have extensively used...

While designing and development, one should think in terms of compile-time and run-time.It helps in understanding language basics in a better way.Let's understand this with a question below : What is the difference between line 1 & line 2 in the following code snippet? public class CompileAndRuntimeTest{... read more

While designing and development, one should think in terms of compile-time and run-time.It helps in understanding language basics in a better way.Let's understand this with a question below :

 

What is the difference between line 1 & line 2 in the following code snippet?

 

public class CompileAndRuntimeTest{
     static final int number1 = 5;
     static final int number2 = 6;
     static int number3 = 5;
     static int number4= 6;

public static void main(String[ ] args) {
    int product1 = number1 * number2; //line 1
    int product2 = number3 * number4; //line 2
}
}

Line 1, evaluates the product at compile-time, and Line 2 evaluates the product at runtime. If you use a Java Decompiler (e.g. jd-gui), and decompile the compiled CompileAndRuntimeTest.class file, you will see why , as shown below:

 

public class CompileAndRuntimeTest
{
   static final int number1 = 5;
   static final int number2 = 6;
   static int number3 = 5;
   static int number4 = 6;

public static void main(String[ ] args)
{
   int product1 = 30;//line 1 ---Here is the diff. Decompiled code 
   int product2 = number3 * number4; //line 2
}
}

Constant folding is an optimization technique used by the Java compiler. Since final variables cannot change, they can be optimized. Java Decompiler and javap command are handy tool for inspecting the compiled (i.e. byte code ) code.

 

Question for readers  :)  :

Can you think of scenarios other than code optimization, where inspecting a compiled code is useful?

 

read less
Comments
Dislike Bookmark

Answered on 09/07/2020 Learn C Language +4 C Language Programming Advanced C++ Basic C++ C++ Language

Sunshine Technologies

- Yashwant Kanetkar - E Balagurusamy
Answers 24 Comments 2
Dislike Bookmark

Answered on 22/01/2019 Learn C Language +4 C Language Programming Advanced C++ Basic C++ C++ Language

Amaninder Kaur

Trainer

All languages good for gamjng. But you can make 3d games in c# uaing unity software and it's very very interesting to work on it.
Answers 6 Comments
Dislike Bookmark

Top Contributors

Connect with Expert Tutors & Institutes for BCA Tuition

Answered on 20/03/2020 Learn BCA Tuition

Charlie

Java actually does not have full form. But historically speaking, a company who owned java previously was named as OAK, because OAK was trademarked by OAK Technologies. Obviously, they wanted to change their name because of the confusion of the people. They selected around 15 titles and came up with... read more

Java actually does not have full form. But historically speaking, a company who owned java previously was named as OAK, because OAK was trademarked by OAK Technologies. Obviously, they wanted to change their name because of the confusion of the people. They selected around 15 titles and came up with finalizing three names that are JAVA, DNA and SILK. Eventually, JAVA was selected.

But having said that, JAVA is jokingly abbreviated by programmers as “JUST ANOTHER VIRTUAL ACCELERATOR.”

Happy Coding

 

read less
Answers 31 Comments
Dislike Bookmark

About UrbanPro

UrbanPro.com helps you to connect with the best BCA Tuition in India. Post Your Requirement today and get connected.

x

Ask a Question

Please enter your Question

Please select a Tag

X

Looking for BCA Tuition Classes?

The best tutors for BCA Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take BCA Tuition with the Best Tutors

The best Tutors for BCA Tuition Classes are on UrbanPro

Book a Free Demo

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more