All Recent | Accenture Today coding questions | Accenture Assessment test 2024

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

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

  • @KodaiTrip-v7k
    @KodaiTrip-v7k Месяц назад +4

    bro
    tommorrow i am having accenture drive
    please upload the answer once you get

  • @bhairavudu1292
    @bhairavudu1292 Месяц назад +3

    arr = [3,6,8,5,4]
    count = 0
    sum = 0
    for i in range(len(arr)):
    if(i%2 == 0):
    sum += arr[i]
    count +=1
    avg = sum/count;
    print(avg)

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

    second question
    class HelloWorld {
    public static void main(String[] args) {
    int div=8,rem=1,quo=7;
    int ans=div*quo+rem;
    System.out.println(ans)
    }
    }

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

    l=list(map(int,input().split()))
    m=[]
    for i in range(len(l)):
    if i%2==0:
    m.append(l[i])
    else:
    pass
    print(sum(m)//len(m))

  • @KodaiTrip-v7k
    @KodaiTrip-v7k Месяц назад

    bro
    tomorrow i am having accenture assessment please upload the answer for coding once you get

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

    avg
    public class Main
    {
    public static void main(String[] args) {
    int arr[]={3,6,8,5,4};
    int res=0;
    int c=0;
    for(int i=0;i

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

    bro , I have doubts do you require Google sponsorship work Authorization for you to work in country what we need to mark either YES or NO

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

    first question java code
    this code works?
    class HelloWorld {
    public static void main(String[] args) {
    int a[]={3,6,8,5,4};
    int avg=0;
    int c=0;
    for(int i=0;i

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

    I need Cognizant previous questions pdf..

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

      Dm me - Insta

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

    Bro code for min perfect square one

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

      do you have code? if you have send.

  • @poornimareddy3168
    @poornimareddy3168 Месяц назад +1

    python code brother

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

      arr = [3,6,8,5,4]
      count = 0
      sum = 0
      for i in range(len(arr)):
      if(i%2 == 0):
      sum += arr[i]
      count +=1
      avg = sum/count;
      print(avg)

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

    for 1st ques :
    def average_of_even_indices(arr):
    total = 0
    count = 0
    for i in range(len(arr)):
    if i % 2 == 0 :
    total += arr[i]
    count += 1
    if count == 0:
    return 0
    return total/count
    arr = list(map(int, input("Enter array: ").split()))
    result = average_of_even_indices(arr)
    print(result)
    for 2nd ques :
    def find_dividend_index(A, D, Q, R, N):
    dividend = D * Q + R
    for i in range(N):
    if A[i] == dividend:
    return i
    return -1
    A = list(map(int, input("Enter array: ").split()))
    D = int(input("Enter Divisor: ")
    Q = int(input("Enter Quotient: ")
    R = int(input("Enter Remainder: ")
    N = int(input("Enter N: ")
    result = find_dividend_index(A, D, Q, R, N)
    print(result)