Algorithm for replacing digit of a number with another || Interview question | Python code

Difficulty level: Easy
In this video, we see the algorithm to replace a given digit with another in a number.

https://github.com/YashodaRamaKrishna/Replacing-digit

https://youtu.be/E3LNVEms5NE

What is GEEK

Buddha Community

Algorithm for replacing digit of a number with another || Interview question | Python code
yogesh sashi

yogesh sashi

1649842672

Why Choose Digital Academy 360 to Learn Digital Marketing

Why Choose Digital Academy 360 to Learn Digital Marketing?

Digital marketing training has become the most acquired skill in Bangalore in the last few years. More than 60% of college graduates have a good understanding of how social media and digital marketing work. This interest is fueled by today’s growing demands to fill the void of good digital marketers. The youth of Bangalore has realized the worth of digital marketing courses in Bangalore and are beginning to fashion newer and cooler professions for themselves. It has been established that upskilling yourself with the fundamentals of digital marketing can go a long way towards a fruitful career. 

Since we are addressing Bangalore, you would benefit from learning about the best option for digital marketing training institute. Digital Academy 360 is by far the best digital marketing training institute in Bangalore. There are many reasons why and we will get to them.

Digital Academy 360 began operations in 2015 with the sole mission to get as many folks trained and upskilled as possible. The focus for them was to make sure that every individual was well-equipped with the commercial and behind-the-scenes aspects of digital marketing. Learning how digital marketing can empower your business can be quite an eye-opener. There are still many businesses that do not understand the importance of marketing their products or services online. With Digital 360, the initiative has been taken and today they have transformed more than 30,000 careers. 

The reason why so many students and learners flock to Digital Academy 360 is that it is the only place that offers:

  1. Online & Offline Classes: Today, especially after the pandemic, every learning institution is focused on online learning, to rope in larger crowds. Digital Academy 360, in fact, is a hub for live classroom sessions to incorporate peer-to-peer learning effectively.
  2. Paid Internship Opportunities: Nowhere else can anybody find a training institute that gets their students paid internships throughout the entire duration of the course. Students can get real-world exposure to corporate culture while also deep-diving into the world of digital marketing.
  3. Job Assurance: Digital Academy 360 has a clear end goal for every candidate who enrolls in any program - to get them gainfully employed. Since they are tied up with more than 1000 hiring partners, which include some big names such as Google, Amazon, Facebook, TCS, and the like, job assurance is more or less a given.
  4. Fee Refund: On the off chance that a candidate is unable to get placed even after their best attempts, then Digital Academy 360 offers a full refund of the course fee. That is a real commitment to the cause!

If you are still unconvinced with the prowess of Digital Academy 360’s operations, you will need to shop around to find a better place. The Digital Academy 360 alumni would answer all your questions on what to expect from a digital marketing course in Bangalore. Digital Academy 360 has 5 learning centers across Bangalore in Jayanagar, HSR Layout, Indiranagar, Hebbal, and Malleswaram. To schedule a class or to join a course, just visit their website. Your future is in your hands, make the right call for your future today.

Keywords: #digital marketing courses in Bangalore, #digital marketing course in Bangalore, #digital marketing training institute in Bangalore, #digital marketing training in Bangalore, #digital marketing institute in Bangalore, #digital marketing courses in Bangalore with placement, #digital marketing certification courses in Bangalore, #digital marketing course near me in Bangalore, #digital marketing course fees in Bangalor

Top 130 Android Interview Questions - Crack Technical Interview Now!

Android Interview Questions and Answers from Beginner to Advanced level

DataFlair is committed to provide you all the resources to make you an android professional. We started with android tutorials along with practicals, then we published Real-time android projects along with source code. Now, we come up with frequently asked android interview questions, which will help you in showing expertise in your next interview.

android interview questions

Android Interview Questions – Get ready for your next interview

Android – one of the hottest technologies, which is having a bright future. Get ready to crack your next interview with the following android interview questions. These interview questions start with basic and cover deep concepts along with advanced topics.

Android Interview Questions for Freshers

1. What is Android?

Android is an open-source mobile operating system that is based on the modified versions of Linux kernel. Though it was mainly designed for smartphones, now it is being used for Tablets, Televisions, Smartwatches, and other Android wearables.

2. Who is the inventor of Android Technology?

The inventors of Android Technology are- Andry Rubin, Nick Sears, and Rich Miner.

3. What is the latest version of Android?

The latest version of Android is Android 10.0, known as Android Q. The upcoming major Android release is Android 11, which is the 18th version of Android. [Note: Keep checking the versions, it is as of June 2020.]

4. How many Android versions can you recall right now?

Till now, there are 17 versions of Android, which have their names in alphabetical order. The 18th version of Android is also going to come later this year. The versions of Android are here:

  • Android 1.0 – Its release is 23 September 2008.
  • Android 1.1 – Its release date is 9 February 2009.
  • Android 1.5 – Its name is Cupcake, Released on 27 April 2009.
  • Android 1.6 – Its name is Donut, Released on 15 September 2009.
  • Android 2.0 – Its name is Eclair, Released on 26 October 2009
  • Android 2.2 – Its name is Froyo, Released on 20 May 2010.
  • Android 2.3 – Its name is Gingerbread, Released on 06 December 2010.
  • Android 3.0 – Its name is Honeycomb, Released on 22 February 2011.
  • Android 4.0 – Its name is Ice Cream Sandwich, Released on 18 October 2011.
  • Android 4.1 – Its name is Jelly Bean, Released on 9 July 2012.
  • Android 4.4 – Its name is KitKat, Released on 31 October 2013.
  • Android 5.0 – Its name is Lollipop, Released on 12 November 2014.
  • Android 6.0 – Its name is Marshmallow, Released on 5 October 2015.
  • Android 7.0 – Its name is Nougat, Released on 22 August 2016.
  • Android 8.0 – Its name is Oreo, Released on 21 August 2017.
  • Android 9.0 – Its name is Pie, Released on 6 August 2018.
  • Android 10.0 – Its name is Android Q, Released on 3 September 2019.
  • Android 11.0 – As of now, it is Android 11.

5. Explain the Android Architecture with its components.

This is a popular android developer interview question

Android Architecture consists of 5 components that are-

a. Linux Kernel: It is the foundation of the Android Architecture that resides at the lowest level. It provides the level of abstraction for hardware devices and upper layer components. Linux Kernel also provides various important hardware drivers that act as software interfaces for hardwares like camera, bluetooth, etc.

b. Native Libraries: These are the libraries for Android that are written in C/C++. These libraries are useful to build many core services like ART and HAL. It provides support for core features.

c. Android Runtime: It is an Android Runtime Environment. Android Operating System uses it during the execution of the app. It performs the translation of the application bytecode into the native instructions. The runtime environment of the device then executes these native instructions.

d. Application Framework: Application Framework provides many java classes and interfaces for app development. And it also provides various high-level services. This complete Application framework makes use of Java.

e. Applications: This is the topmost layer of Android Architecture. It provides applications for the end-user, so they can use the android device and compute the tasks.

6. What are the services that the Application framework provides?

The Android application framework has the following key services-

a. Activity Manager: It uses testing and debugging methods.

b. Content provider: It provides the data from application to other layers.

c. Resource Manager: This provides users access to resources.

d. Notification Manager: This gives notification to the users regarding actions taking place in the background.

e. View System: It is the base class for widgets, and it is also responsible for event handling.

7. What are the important features of Linux Kernel?

The important features of the Linux Kernel are as follows:

a. Power Management: Linux Kernel does power management to enhance and improve the battery life of the device.

b. Memory Management: It is useful for the maximum utilization of the available memory of the device.

c. Device Management: It includes managing all the hardware device drivers. It maximizes the utilization of the available resources.

d. Security: It ensures that no application has any such permission that it affects any other application in order to maintain security.

e. Multi-tasking: Multi-tasking provides the users the ease of doing multiple tasks at the same time.

8. What are the building blocks of an Android Application?

This is a popular android interview question for freshers.

The main components of any Android application are- Activity, Services, Content Provider, and Broadcast Receiver. You can understand them as follows:

a. Activity- It is a class that acts as the entry point representing a single screen to the user. It is like a window to show the user interface.

b. Services- Services are the longest-running component that runs in the background.

c. Content Provider- The content provider is an essential component that allows apps to share data between themselves.

d. Broadcast receivers- Broadcast receiver is another most crucial application component. It helps the apps to receive and respond to broadcast messages from the system or some other application.

9. What are the important components of Android Application?

The Components of Android application are listed below:

  1. Widgets
  2. Intents
  3. Views
  4. Notification
  5. Fragments
  6. Layout XML files
  7. Resources

10. What are the widgets?

Widgets are the variations of Broadcast receivers. They are an important part of home screen customization. They often display some data and also allow users to perform actions on them. Mostly they display the app icon on the screen.

11. Can you name some types of widgets?

Mentioned below are the types of widgets-

a. Informative Widgets: These widgets show some important information. Like, the clock widget or a weather widget.

b. Collective Widgets: They are the collection of some types of elements. For example, a music widget that lets us change, skip, or forward the song.

c. Control Widgets: These widgets help us control the actions within the application through it. Like an email widget that helps check the recent mails.

d. Hybrid Widgets: Hybrid widgets are those that consist of at least two or more types of widgets.

12. What are Intents?

Intents are an important part of Android Applications. They enable communication between components of the same application as well as separate applications. The Intent signals the Android system about a certain event that has occurred.

13. Explain the types of intents briefly?

Intent is of three types that are-

a. Implicit Intents: Implicit intents are those in which there is no description of the component name but only the action.

b. Explicit Intents: In explicit intents, the target component is present by declaring the name of the component.

c. Pending Intents: These are those intents that act as a shield over the Intent objects. It covers the intent objects and grants permission to the external app components to access them.

14. What is a View?

A view is an important building block that helps in designing the user interface of the application. It can be a rectangular box or a circular shape, for example, Text View, Edit Text, Buttons, etc. Views occupy a certain area of the screen, and it is also responsible for event handling. A view is the superclass of all the graphical user interface components.

15. What do you understand by View Group?

It is the subclass of the ViewClass. It gives an invisible container to hold layouts or views. You can understand view groups as special views that are capable of holding other views, that are Child View.

16. What do you understand about Shared Preferences?

It is a simple mechanism for data storage in Android. In this, there is no need to create files, and using APIs, it stores the data in XML files. It stores the data in the pair of key-values. SharedPreferences class lets the user save the values and retrieve them when required. Using SharedPreferences we can save primitive data like- boolean, float, integer, string and long.

17. What is a Notification?

A notification is just like a message that shows up outside the Application UI to provide reminders to the users. They remind the user about a message received, or some other timely information from the app.

18. Give names of Notification types.

There are three types of notifications namely-

a. Toast Notification- This notification is the one that fades away sometime after it pops up.

b. Status Notification- This notification stays till the user takes some action on it.

c. Dialog Notification- This notification is the result of an Active Activity.

19. What are fragments?

A fragment is a part of the complete user interface. These are present in Activity, and an activity can have one or more fragments at the same time. We can reuse a fragment in multiple activities as well.

20. What are the types of fragments?

There are three types of fragments that are: Single Fragment, List Fragment, Fragment Transactions.

  1. Single Transactions can only show a single view for the user.
  2. List Fragments have a special list view feature that provides a list from which the user can select one.
  3. Fragment Transactions are helpful for the transition between one fragment to the other.

Frequently asked Android Interview Questions and Answers

21. What are Layout XML files?

Layout XML files contain the structure for the user interface of the application. The XML file also contains various different layouts and views, and they also specify various GUI components that are there in Activity or fragments.

22. What are Resources in Android Application?

The resources in Android Apps defines images, texts, strings, colors, etc. Everything in resources directory is referenced in the source code of the app so that we can use them.

23. Can you develop Android Apps with languages other than Java? If so, name some.

Yes, there are many languages that we can work with, for the development of Android Applications. To name some, I would say Java, Python, C, C++, Kotlin, C#, Corona/LUA.

24. What are the states of the Activity Lifecycle?

Activity lifecycle has the following four stages-

a. Running State: As soon as the activity starts, it is the first state.

b. Paused State: When some other activity starts without closing the previous one, the running activity turns into the Paused state.

c. Resume State: When the activity opens again after being in pause state, it comes into the Resume State.

d. Stopped State: When the user closes the application or stops using it, the activity goes to the Stopped state.

25. What are some methods of Activity?

The methods of Activity are as follows:

  • onCreate()
  • onStart()
  • onPause()
  • onRestart()
  • onResume()
  • onStop()
  • onDestroy()

26. How can you launch an activity in Android?

We launch an activity using Intents. For this we need to use intent as follows:

  1. ntent intent_name= new Intent(this, Activity_name.class);
  2. startActivity(intent_name);

27. What is the service lifecycle?

There are two states of a service that are-

a. Started State: This is when the service starts its execution. A Services come in start state only through the startService() method.

b. Bounded State: A service is in the bounded state when it calls the method bindService().

28. What are some methods of Services?

The methods of service are as follows-

  • onStartCommand()
  • onBind()
  • onCreate()
  • onUnbind()
  • onDestroy()
  • onRebind()

29. What are the types of Broadcast?

Broadcasts are of two types that are-

a. Ordered Broadcast: Ordered broadcasts are Synchronous and work in a proper order. It decides the order by using the priority assigned to the broadcasts.

b. Normal Broadcast: These are asynchronous and unordered. They are more efficient as they run unorderly and all at once. But, they lack full utilization of the results.

30. What are useful impotent folders in Android?

The impotent folders in an Android application are-

  1. build.xml- It is responsible for the build of Android applications.
  2. bin/ – The bin folder works as a staging area to wrap the files packages into the APK.
  3. src/ – The src is a folder where all the source files of the project are present.
  4. res/ – The res is the resource folder that stores values of the resources that are used in the application. These resources can be colors, styles, strings, dimensions, etc.
  5. assets/ – It provides a facility to include files like text, XML, fonts, music, and video in the Android application.

31. What are the important files for Android Application when working on Android Studio?

This is an important android studio interview question

There are following three files that we need to work on for an application to work-

a. The AndroidManifest.xml file: It has all the information about the application.

b. The MainActivity.java file: It is the app file that actually gets converted to the dalvik executable and runs the application. It is written in java.

c. The Activity_main.xml file: It is the layout file that is available in the res/layout directory. It is another mostly used file while developing the application.

32. Which database do you use for Android Application development?

The database that we use for Android Applications is SQLite. It is because SQLite is lightweight and specially developed for Android Apps. SQLite works the same way as SQL using the same commands.

33. Tell us some features of Android OS.

The best features of Android include-

  1. Multi-tasking
  2. Support for a great range of languages
  3. Support for split-screen
  4. High connectivity with 5G support
  5. Motion Control

34. Why did you learn Android development?

Learning Android Studio is a good idea because of the following-

  1. It has a low application development cost.
  2. It is an open-source platform.
  3. It has multi-platform support as well as Multi-carrier support.
  4. It is open for customizations.
  5. Android is a largely used operating system throughout the world.

35. What are the different ways of storage supported in Android?

The various storage ways supported in Android are as follows:

  1. Shared Preference
  2. Internal Storage
  3. External Storage
  4. SQLite Databases
  5. Network Connection

36. What are layouts?

Layout is nothing but arrangements of elements on the device screen. These elements can be images, tests, videos, anything. They basically define the structure of the Android user interface to make it user friendly.

37. How many layout types are there?

The type of layouts used in Android Apps are as follows:

  1. Linear Layout
  2. Relative Layout
  3. Constraint Layout
  4. Table Layout
  5. Frame Layout
  6. Absolute Layout
  7. Scrollview layout

38. What is an APK?

An APK stands for Android Package that is a file format of Android Applications. Android OS uses this package for the distribution and installation of the Android Application.

39. What is an Android Manifest file?

The manifest file describes all the essential information about the project application for build tools, Android operating system, and google play. This file is a must for every Android project that we develop, and it is present in the root of the project source set.

#android tutorials #android basic interview questions #android basic questions #android developer interview questions #android interview question and answer #android interview questions #android interview questions for experienced #android interview questions for fresher

yogesh sashi

yogesh sashi

1649154310

Why is digital marketing important

WHY IS DIGITAL MARKETING IMPORTANT?

In the twenty-first century, the way businesses communicate with their customers has evolved with the times. Traditional marketing has taken a step back to make room for a new face to enter the sector. We all live in a digital world where we are all immersed in new technology that makes us feel at ease and makes any type of work easier. The more comfortable the zone becomes, the more difficult it becomes for people to make a living because there will be more people competing for a single job.

The world's economy grows through many types of government-run or privately held businesses. In this era, having advanced technologies can have both positive and harmful consequences.

Digital marketing is a type of marketing that involves the use of electronic devices, and it is also utilized by marketing professionals to communicate with customers. Marketing campaigns that display on a computer, phone, tablet, or other device are referred to as digital marketing. Learn digital marketing courses in Bangalore with 100+ modules with 20+ Google certifications.

Advantages of using Digital Marketing :

You may keep track of your competitors:

You can do this activity by setting up Google alerts. You can easily compete with your competition, although traditional marketing would not allow you to do so.

Build Your Brand's Reputation:

Digital marketing raises brand awareness and strengthens your brand's reputation among consumers.

Saves time and money:

Digital marketing is both cost-effective and time-saving. When compared to traditional marketing, it will generate a lot of money.

Huge Engagement: 

You have a good understanding of your target audience and interact with them on a variety of media. The greatest ways to reach out to the target demographic are through social media sites such as Facebook, LinkedIn, and Twitter.

Great career choice:

Individuals have found digital marketing to be a fantastic career choice. Business owners want to master Digital Marketing so that they can promote their company, while freshers and job seekers see it as a viable career option.

Digital marketing gives platforms for all types of businesses whether small, medium, or large. It is less expensive than other forms of traditional advertising.

For every company’s growth, Digital Marketing will provide higher ROI and conversions, and also your company’s revenue will increase. 

So, if you've been considering how digital marketing may help your company develop, I hope these points are helpful. So go ahead and use the digital medium to promote your company on a worldwide scale. Your business's results and improvements will undoubtedly amaze you.

If you're serious about digital marketing as a profession, I recommend going through the correct channels to learn it. There are numerous good institutes that provide both online and offline digital marketing courses in Bangalore. If you are looking for the best digital marketing training institute in Bangalore, then Digital Academy 360 is an excellent place to start your digital marketing career if you want to learn from the best. It provides both online and face-to-face training. The online course will be completed in three months, while the offline course will take four to seven months.

Many people whose lives are being transformed by the Digital Academy 360 team, which is laying the groundwork for a successful career path in the digital world for them.

If the information presented above piques your interest and you'd want to learn more about this course, go to their website and take a look around, or join up for a live demo session.

Keywords: #Digital Marketing Courses in Bangalore, #Digital Marketing Course in Bangalore, #Digital Marketing Training Institute in Bangalore, #Digital Marketing Training Institute in Bangalore, #Digital Marketing Training in Bangalore, #Digital Marketing Institute in Bangalore, #Digital Marketing Courses in Bangalore with Placement, #Digital Marketing Course Fees in Bangalore, #Digital Marketing Course Near me in Bangalore 

yogesh sashi

yogesh sashi

1649155536

Career in digital marketing

CAREER IN DIGITAL MARKETING

We've already seen the impact this ongoing epidemic has had on the employment market, with most verticals experiencing a decline in growth, millions of jobs lost, and new job creation on a downward trend!

There are, nevertheless, a few fields that have maintained their strength and emerged as actual opportunities, Digital marketing is one of them!

As a result, a career in digital marketing is one of the greatest options available right now, but with so many job seekers interested in this industry, competition for employment has increased. As a result, learning the digital marketing courses in Chennai thoroughly is essential if you want to stand out from the crowd.

Choose Digital Marketing as a career

According to a new survey from the University of Massachusetts Dartmouth, 73 percent of Fortune 500 businesses now have active corporate Twitter accounts, and 66 percent have Facebook pages.

According to Conductor, a New York firm, there has been a 112 percent increase in demand for SEO practitioners, with pay as high as &94,000.

Since 2006, the number of job listings using "SEO" has surged by 1900% on Job Search | Indeed.

These statistics will help you comprehend the rise and significance of digital marketing in today's firms. Having a skill in this area will undoubtedly offer you an advantage.

Now if you pursue a profession in Digital Marketing, you will not be bored, nor will you be stuck doing the same old jobs day after day. The reason for this is that digital evolves, morphs, transforms, and evolves at a rapid pace and necessitates continuous updates to accommodate these changes in your strategy, communications, and promotions.

The possibilities are unlimited, and the potential for progress is limitless. This is a field where your work is really important. So if you’re willing to work hard and put in the extra hours, you’ll be the most in-demand digital marketer that any firm wants to recruit. 

That is why there is a high need for digital marketing jobs these days.

After considering all the above-mentioned factors, If you're serious about learning digital marketing as a career, I recommend going through the proper channels. There are various good institutes that provide digital marketing courses in Chennai both online and offline.

If you are looking for the best digital marketing training institute in Chennai, then Digital Academy 360 is a great place to start your digital marketing career. 

As a result, each Digital Academy 360 member is separated into distinct groups and assigned various group tasks. We can learn in a variety of methods from a variety of people with different perspectives.

Conclusion :

Without Digital Marketing you won’t be able to promote your brand and reach out to your potential customers.

You'll receive live session recordings that you can download and utilize at a later time. There will also be pre-recorded videos available. As a result, the value of your education will increase. They also provide full placement assistance.

If the information presented above pleases your interest and you'd want to learn more about this course, go to their website and take a look around, or join up for a live demo session.

Keywords: #Digital Marketing Courses in Chennai, #Digital Marketing Course in Chennai, #Digital Marketing Training Institute in Chennai, #Digital Marketing Training Institute in Chennai, #Digital Marketing Training in Chennai, #Digital Marketing Institute in Chennai, #Digital Marketing Courses in Chennai with Placement, #Digital Marketing Course Fees in Chennai, #Digital Marketing Course Near me in Chennai 

yogesh sashi

yogesh sashi

1647933673

How to become a Global digital marketer

How to Become a Global Digital Marketer

Digital marketing is a global enterprise, not limited by boundaries or regions. Since the internet is for everyone equally, there is no ruler there. If you plan to start a business by selling a product or providing a service, digital marketing is your best chance at promoting your business. If becoming a global digital marketer is your goal, your ideal course of action would be to learn the fundamentals of digital marketing.

Digital marketing courses in Chennai are picking up the pace as more and more people are showing interest and involvement in digital marketing. To become a global digital marketer, read this blog to gain some insights.

Acquire Knowledge On Global Marketing

Every country or region has popular social trends that are distinct from each other. Countries such as China, Japan, and Korea have their own unique cultures and the applications that they use are also quite different. Apps such as WeChat, TikTok, and LINE are mostly used for social media and communication. While the rest of the world mostly uses WhatsApp, Twitter, and Instagram, Asian countries are less active here. So to become a global spearhead in marketing, understanding how different apps work is quite important. To start off, you would benefit from understanding the algorithms of different apps or sites that are used globally. A digital marketing course in Chennai would help you achieve your goal much faster.

Build a Digital Marketing Portfolio

If you can demonstrate your prolific knowledge of different user systems in social media, then you can create an extensive portfolio of your work. Having a versatile portfolio can enable better opportunities for you worldwide. YouTube marketing is quite different from LinkedIn marketing, which in turn differs from Instagram or TikTok marketing. To become a well-renowned digital marketer, having a wide range of experience is the best course of action for you. 

Develop a Professional Marketing Resume

To be taken seriously around the world, you need two things - tons of experience and sound knowledge. Both of those need to be highlighted well on your resume. Becoming a global digital marketer is a great career path. What will help you get there is enough experience to prove that you understand the depths of social media marketing. Enough hours running on campaigns, gaining inside performances, and developing a systematic approach to marketing your content are necessary to make your resume a brilliant one. 

Join Digital Academy 360

Digital Academy 360 is the best digital marketing training Institute in Chennai. To fully understand the intricacies of social media, to gain on-the-job experience, to become a digital marketing expert, Digital Academy 360 is the place to be. With their advanced post-graduate program in digital marketing, you will gain the knowledge and skills required that can propel you towards the path to becoming a global digital marketer. With peer-to-peer learning and dozens of paid software put to use, you get the ultimate training experience. Also, market experts and business leaders drop in from time to time to share their experiences with you. 

Join today and start your journey towards your dream career.

Keywords: #Digital Marketing Courses in Chennai, #Digital Marketing Course in Chennai, #Digital Marketing Training Institute in Chennai, #Digital Marketing Training Institute in Chennai, #Digital Marketing Training in Chennai, #Digital Marketing Institute in Chennai, #Digital Marketing Courses in Chennai with Placement, #Digital Marketing Course Fees in Chennai, #Digital Marketing Course Near me in Chennai