Accenture Todays Actual Coding Questions | Accenture Assessment Test Coding Ques | 2024/2025 Batch

Поделиться
HTML-код
  • Опубликовано: 23 окт 2024

Комментарии • 93

  • @CodeBashers
    @CodeBashers  2 месяца назад +9

    ✅✅Join Our Telegram Group for Accenture 2025 Batch Discussion : t.me/placement_batch_2025
    ✅✅Important IT Interview Subject Notes: topmate.io/code_bashers/1026390
    ✅✅Book Mock Interview : topmate.io/code_bashers

  • @saikumarmolli6479
    @saikumarmolli6479 2 месяца назад +38

    Binary representation of decimal number 10 is 1010 ( binary )

    • @CodeBashers
      @CodeBashers  2 месяца назад +5

      Ohh sorry , my bad , but solution discussed in video will still work 👍👍

    • @saikumarmolli6479
      @saikumarmolli6479 2 месяца назад +1

      Yes sir

    • @blackstargaming3678
      @blackstargaming3678 Месяц назад

      ​@@saikumarmolli6479Bro kya ham hashmap, stl function, set, vector sabu use kar sakte he Accenture Mai, aur code kya scratch se likhna padega ya jaise leetcode mai hota hai waise

    • @saikumarmolli6479
      @saikumarmolli6479 Месяц назад

      @@blackstargaming3678 it builds up with gradual practice starting with easy problems and concepts, vo karne ke baad, you will understand the flow. It definitely needs practice.

    • @blackstargaming3678
      @blackstargaming3678 Месяц назад

      @@saikumarmolli6479 bhai mujhe woh pata hai concepts Mai puch raha tha kya allow karenge c++ ka stl function use karne ke liye ya nhi

  • @samsabhaya6686
    @samsabhaya6686 2 месяца назад +4

    import math
    def minimum_binary(n:int):
    mask = bin(n)[2:]
    counter =0
    for i in mask:
    if i=='1':
    counter+=1
    print(counter)
    return math.pow(counter,2)-1

    print(minimum_binary(10))

  • @TalachutlaSatyavathi
    @TalachutlaSatyavathi Месяц назад

    from itertools import permutations
    n=int(input())
    res=format(n,'b')
    l=str(res)
    r=[]
    s=permutations(l)
    g=([''.join(p) for p in s])
    for i in range(len(g)):
    r.append(int((g[i]),2))
    print(min(r))

  • @navyapatelmirupa3396
    @navyapatelmirupa3396 2 месяца назад +1

    N = int(input())
    count_of_ones = bin(N).count('1')
    smallest_number = (1

  • @blackstargaming3678
    @blackstargaming3678 Месяц назад

    Bro kya ham hashmap, stl function, set, vector sabu use kar sakte he Accenture Mai, aur code kya scratch se likhna padega ya jaise leetcode mai hota hai waise

  • @sahilhusain5337
    @sahilhusain5337 2 месяца назад +7

    return int("".join(sorted(bin(num)[2:])),2)
    Answer of first question

  • @Bindasspujaa
    @Bindasspujaa 2 месяца назад +2

    i am from 2023 batch i applied for accenture and got the congratulations You have moved ahead in our recruitment process. will i get the exam mail further?

    • @Raj__rko
      @Raj__rko 2 месяца назад

      Bro link ?

  • @SSGaming-ig8ps
    @SSGaming-ig8ps Месяц назад

    n=int(input())
    binary=bin(n)[2:]
    l=sorted(list(map(int, binary)))
    res=''.join(str(i) for i in l)
    print(int(res,2))
    is my solution correct for above question?

  • @user-bt6mh9ez3u
    @user-bt6mh9ez3u 2 месяца назад +1

    Can anyone provide the link for the opening for 2025 batch ??

  • @anuragbhagrav1287
    @anuragbhagrav1287 2 месяца назад +6

    Bhai ye dono hi question toh bahut hi jayada easy level ke hai, sach me aise hi questions puchhte hai kya ? Need answer please??

    • @CodeBashers
      @CodeBashers  2 месяца назад +6

      See some find these easy , some tough.
      For some slot dp questions are even asked . So it depends what questiin u get

    • @anuragbhagrav1287
      @anuragbhagrav1287 2 месяца назад +1

      @@CodeBashers okk, itne se Kitna ka lag jata hai??

    • @blackstargaming3678
      @blackstargaming3678 Месяц назад

      ​@@anuragbhagrav1287Bro kya ham hashmap, stl function, set, vector sabu use kar sakte he Accenture Mai, aur code kya scratch se likhna padega ya jaise leetcode mai hota hai waise

  • @arunas6537
    @arunas6537 2 месяца назад

    How is this code?
    n = int(input("Enter a number: "))
    b = bin(n)[2:] # Convert to binary and handle negative numbers by taking the absolute value
    sorted_b = ''.join(sorted(b)) # Sort the binary string and join it back into a string
    result = int(sorted_b, 2) # Convert the sorted binary string back to an integer
    print(result)

  • @sushantpandey012
    @sushantpandey012 2 месяца назад

    sir in the first question why dont we need to convert our decimal input into binary?? , how is the code working using decimal input

    • @souhardya_saha
      @souhardya_saha 2 месяца назад

      we are using bitwise and operation here therefore even if a decimal input is given the operation will be done bit by bit

  • @anushkagupta121
    @anushkagupta121 2 месяца назад

    yeah questions ky 22 wale exam m puche jaane k chances hain kya?

  • @panchamigowda27
    @panchamigowda27 2 месяца назад +14

    I attended on 26/7/24 I got same question

    • @engineer2025k
      @engineer2025k 2 месяца назад

      Where is this round conducted at college campus or from home online???

    • @panchamigowda27
      @panchamigowda27 2 месяца назад +1

      @@engineer2025k online

    • @engineer2025k
      @engineer2025k 2 месяца назад

      @@panchamigowda27 and what about first round aptitude and all??
      Actually today I received the registration mail for the recruitment

    • @shubhamsingaal8154
      @shubhamsingaal8154 2 месяца назад

      Do you have apti questiosn also

    • @panchamigowda27
      @panchamigowda27 2 месяца назад

      @@engineer2025k yes it's aptitude round if u clear aptitude round you can proceed to coding round

  • @gowthamimmadisetty6982
    @gowthamimmadisetty6982 2 месяца назад +1

    From which platform these questions are?

    • @CodeBashers
      @CodeBashers  2 месяца назад +1

      Means Accenture has its platform.

  • @poojas5712
    @poojas5712 2 месяца назад +1

    One doubt...in on campus drive can attend the test anywhere or only we need to attend in clg lab?

    • @CodeBashers
      @CodeBashers  2 месяца назад +2

      College will inform u about this

  • @abhisheksharma4642
    @abhisheksharma4642 2 месяца назад +5

    Registration ke kitne din baad test hota hai ..?

  • @shubhajitchatterjee311
    @shubhajitchatterjee311 2 месяца назад +6

    binay representation of 10 is 1010. Not 1001 this is equal to 9.

    • @CodeBashers
      @CodeBashers  2 месяца назад +1

      Yes brother , its my fault but approach would still remain same ,
      Because approach depends on number of set bits and not position of set bit 👍

  • @angarika3097
    @angarika3097 2 месяца назад

    sir y dose the power start from 1 and not 0

  • @shellymittal7726
    @shellymittal7726 2 месяца назад +4

    This exam was for of campus 2024 batch... Because i am in on campus 2025 batch
    Can u tell the timeline of 2025 on campus assessment tests?

    • @CodeBashers
      @CodeBashers  2 месяца назад +1

      Time line will be that assessment can be in 1st week of August

    • @arnavrangari2537
      @arnavrangari2537 2 месяца назад

      ​@@CodeBashersNo the registration deadline is extended to 5th August

  • @SakshiSharma-fz9sb
    @SakshiSharma-fz9sb 2 месяца назад +1

    Binary of 10 = 1010

  • @lleviuchiha5565
    @lleviuchiha5565 2 месяца назад

    Sir can I do the coding assessment test in javascript language...? i am preparing for MERN STACK development.......also are there other exams or ways to join these companies as a MERN stack developer....?

    • @ukkalyanvlogs
      @ukkalyanvlogs 2 месяца назад

      where you learning this mern stach developer course bro actually.

    • @lleviuchiha5565
      @lleviuchiha5565 2 месяца назад

      @@ukkalyanvlogs from offline class..... qspider

  • @pavithrak1211
    @pavithrak1211 2 месяца назад +1

    I applied for Accenture off campus, on June itself, but no assesment link came

  • @yashrajjain8359
    @yashrajjain8359 2 месяца назад

    I studied dsa for 2 weeks and can solve these 2😭

  • @pramodn4438
    @pramodn4438 2 месяца назад

    I have registered for Accenture assesment test i got registeration mail but i havent got assement test date

  • @tunapradhan7571
    @tunapradhan7571 2 месяца назад +7

    Return pow(2,count)-1;

    • @CodeBashers
      @CodeBashers  2 месяца назад +3

      For a particular question many approaches are possible . I try to explain simple approch which can be understood by all. 👍

  • @ammankhan3370
    @ammankhan3370 2 месяца назад +2

    I'm not able to solve the first question by myself. Still a loser

  • @VinodKumar-cf5ej
    @VinodKumar-cf5ej 2 месяца назад

    Python lo code chepara sir

    • @Anonymous____________A721
      @Anonymous____________A721 2 месяца назад

      Ism aa

    • @VinodKumar-cf5ej
      @VinodKumar-cf5ej 2 месяца назад

      @@Anonymous____________A721 means

    • @tharunkumar-kb1yw
      @tharunkumar-kb1yw 2 месяца назад +2

      Chat gpt vadu bro

    • @VinodKumar-cf5ej
      @VinodKumar-cf5ej 2 месяца назад +2

      @@tharunkumar-kb1yw correct code ravatam ledhu bro

    • @samsabhaya6686
      @samsabhaya6686 2 месяца назад

      import math
      def minimum_binary(n:int):
      mask = bin(n)[2:]
      counter =0
      for i in mask:
      if i=='1':
      counter+=1
      print(counter)
      return math.pow(counter,2)-1

      print(minimum_binary(10))

  • @kulkarnisoham
    @kulkarnisoham 2 месяца назад +2

    How to apply???

  • @sudeshhirave5835
    @sudeshhirave5835 2 месяца назад +4

    better approach uses O(n) complexity
    used only one loop in this code
    #include
    using namespace std;
    int OperationsBinaryString(int num){
    int count = 0;
    while(num){
    count += num & 1;
    num>>= 1;
    }
    return count;
    }
    int smallestnum(int num){
    if(num == 1)1;
    int count = OperationsBinaryString(num);
    return (1

  • @_BRohini
    @_BRohini 2 месяца назад +2

    Keep cognitive questions please tomorrow is my test

    • @sunnyyashu
      @sunnyyashu 2 месяца назад

      Which collage

    • @_BRohini
      @_BRohini 2 месяца назад

      @@sunnyyashu keshav Memorial Institute of Commerce and Sciences

    • @jhanvii-pw9bb
      @jhanvii-pw9bb 2 месяца назад

      @@_BRohini how did it go?

    • @ShaikMansoor-h7i
      @ShaikMansoor-h7i 2 месяца назад

      When you got congratulations mail and what role

    • @moni404
      @moni404 2 месяца назад +1

      The test was conducted online or in clg?