Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Ask The Science

Ask The Science Logo Ask The Science Logo

Ask The Science Navigation

  • Home
  • Blog
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
  • Home
  • Blog
  • About Us
  • Contact Us
Home/ Ask The Science/Best Answers
  • Questions
  • Polls
  • Answers
  • Best Answers
  • Groups
  • Joined Groups
  • Managed Groups
  1. Asked: October 20, 2022In: Python Interview Questions

    What are the supported standard data types in Python?

    Ask The Science
    Ask The Science
    Added an answer on October 24, 2022 at 11:51 pm

    The supported standard data types in Python include: Lists Numbers Strings Dictionaries Tuples

    The supported standard data types in Python include:

    1. Lists
    2. Numbers
    3. Strings
    4. Dictionaries
    5. Tuples

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: October 10, 2022In: Computer Science

    Write the steps involved in the insertion and deletion of an element in the stack.

    Ask The Science
    Ask The Science
    Added an answer on October 10, 2022 at 4:28 pm

    Push: Increment the variable top so that it can refer to the next memory allocation Copy the item to at the array index value equal to the top Repeat steps 1 and 2 until the stack overflows Pop: Store the topmost element into the another variable Decrement the value of the top Return the topmost eleRead more

    Push:

    • Increment the variable top so that it can refer to the next memory allocation
    • Copy the item to at the array index value equal to the top
    • Repeat steps 1 and 2 until the stack overflows

    Pop:

    • Store the topmost element into the another variable
    • Decrement the value of the top
    • Return the topmost element
    See less
      • 2
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  3. Asked: October 10, 2022In: Computer Science

    What is a postfix expression?

    Ask The Science
    Ask The Science
    Added an answer on October 10, 2022 at 4:27 pm

    An expression in which operators follow the operands is known as postfix expression. The main benefit of this form is that there is no need to group sub-expressions in parentheses or to consider operator precedence. The expression "a + b" will be represented as "ab+" in postfix notation.

    An expression in which operators follow the operands is known as postfix expression. The main benefit of this form is that there is no need to group sub-expressions in parentheses or to consider operator precedence.

    The expression “a + b” will be represented as “ab+” in postfix notation.

    See less
      • 2
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  4. Asked: October 10, 2022In: Computer Science

    Write the postfix form of the expression: (A + B) * (C – D)

    Ask The Science
    Ask The Science
    Added an answer on October 10, 2022 at 4:26 pm

    AB+CD-*

    AB+CD-*

    See less
      • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  5. Asked: October 10, 2022In: Computer Science

    How to reference all the elements in a one-dimension array?

    Ask The Science
    Ask The Science
    Added an answer on October 10, 2022 at 4:25 pm

    It can be done by using an indexed loop such that the counter runs from 0 to the array size minus one. In this manner, you can reference all the elements in sequence by using the loop counter as the array subscript.

    It can be done by using an indexed loop such that the counter runs from 0 to the array size minus one. In this manner, you can reference all the elements in sequence by using the loop counter as the array subscript.

    See less
      • 2
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  6. Asked: October 10, 2022In: Computer Science

    How are the elements of a 2D array are stored in the memory?

    Ask The Science
    Ask The Science
    Added an answer on October 10, 2022 at 4:24 pm

    There are two techniques by using which, the elements of a 2D array can be stored in the memory. Row-Major Order: In row-major ordering, all the rows of the 2D array are stored in the memory contiguously. First, the 1st row of the array is stored in the memory completely, then the 2nd row of the arrRead more

    There are two techniques by using which, the elements of a 2D array can be stored in the memory.

    • Row-Major Order: In row-major ordering, all the rows of the 2D array are stored in the memory contiguously. First, the 1st row of the array is stored in the memory completely, then the 2nd row of the array is stored in the memory completely, and so on till the last row.
    • Column-Major Order: In column-major ordering, all the columns of the 2D array are stored in the memory contiguously. first, the 1st column of the array is stored in the memory completely, then the 2nd row of the array is stored in the memory completely, and so on till the last column of the array.
    See less
      • 2
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  7. Asked: October 10, 2022In: Computer Science

    Calculate the address of a random element present in a 2D array, given base address as BA.

    Ask The Science
    Ask The Science
    Added an answer on October 10, 2022 at 4:22 pm

    Row-Major Order: If the array is declared as a[m][n] where m is the number of rows while n is the number of columns, then the address of an element a[i][j] of the array stored in row-major order is calculated as,   Address(a[i][j]) = B. A. + (i * n + j) * size Column-Major Order: If the array iRead more

    Row-Major Order: If the array is declared as a[m][n] where m is the number of rows while n is the number of columns, then the address of an element a[i][j] of the array stored in row-major order is calculated as,

     

    Address(a[i][j]) = B. A. + (i * n + j) * size

    Column-Major Order: If the array is declared as a[m][n] where m is the number of rows while n is the number of columns, then the address of an element a[i][j] of the array stored in column-major order is calculated as

    Address(a[i][j]) = ((j*m)+i)*Size + BA.

    See less
      • 2
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  8. Asked: October 10, 2022In: Computer Science

    Are linked lists considered linear or non-linear data structures?

    Ask The Science
    Ask The Science
    Added an answer on October 10, 2022 at 4:21 pm

    A linked list is considered both linear and non-linear data structure depending upon the situation. Based on data storage, it is considered a non-linear data structure. Based on the access strategy, it is considered a linear data structure.

    A linked list is considered both linear and non-linear data structure depending upon the situation.

    • Based on data storage, it is considered a non-linear data structure.
    • Based on the access strategy, it is considered a linear data structure.
    See less
      • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  9. Asked: October 10, 2022In: Computer Science

    What are the advantages of Linked List over an array?

    Ask The Science
    Ask The Science
    Added an answer on October 10, 2022 at 4:13 pm

    The size of a linked list can be incremented at runtime which is impossible in the case of the array. The List is not required to be contiguously present in the main memory, if the contiguous space is not available, the nodes can be stored anywhere in the memory connected through the links. The ListRead more

    • The size of a linked list can be incremented at runtime which is impossible in the case of the array.
    • The List is not required to be contiguously present in the main memory, if the contiguous space is not available, the nodes can be stored anywhere in the memory connected through the links.
    • The List is dynamically stored in the main memory and grows as per the program demand while the array is statically stored in the main memory, the size of which must be declared at compile time.
    • The number of elements in the linked list is limited to the available memory space while the number of elements in the array is limited to the size of an array.
    See less
      • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  10. Asked: October 10, 2022In: Computer Science

    Write the syntax in C to create a node in the singly linked list.

    Ask The Science
    Ask The Science
    Added an answer on October 10, 2022 at 4:11 pm

    struct node { int data; struct node *next; }; struct node *head, *ptr; ptr = (struct node *)malloc(sizeof(struct node));

    struct node
    {
    int data;
    struct node *next;
    };
    struct node *head, *ptr;
    ptr = (struct node *)malloc(sizeof(struct node));

    See less
      • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
1 … 25 26 27 28 29

Sidebar

Administrator
Ask The Science

Ask The Science

Ask Ask The Science

User Statistics

  • 393

    Visits

  • 283

    Questions

  • 336

    Answers

  • 288

    Best Answers

  • 1k

    Points

  • 0

    Followers

  • 1

    Member

Ask A Question
  • Popular
  • Answers
  • Ask The Science

    Why Should We Hire You?

    • 2 Answers
  • BigB

    Why do we not fall off from the Earth?

    • 2 Answers
  • BigB

    What is the internal structure of the Earth?

    • 1 Answer
  • BigB

    How do we discover what is inside the Earth?

    • 1 Answer
  • BigB

    How did we discover that the Earth is round?

    • 1 Answer
  • developerwithlove
    developerwithlove added an answer The following are the most significant advantages of the Agile… October 3, 2023 at 11:25 am
  • developerwithlove
    developerwithlove added an answer The following are some widely accepted principles of Agile testing:… October 3, 2023 at 11:23 am
  • developerwithlove
    developerwithlove added an answer Agile testing is a critical step in the process. It… October 3, 2023 at 11:22 am
  • developerwithlove
    developerwithlove added an answer Agile is an iterative and incremental approach to project management… October 3, 2023 at 11:22 am
  • Ask The Science
    Ask The Science added an answer Scrum and Agile are often used interchangeably, but the two aren’t… October 3, 2023 at 11:11 am

Trending Tags

agile interview questions cyber security interview questions data engineer interview questions data structure data structure interview questions data structure interview questions and answers data structures front end front end interview questions general interview questions interview questions linked list python python interview questions qa interview questions queue queue data structure scrum master interview questions social media interview questions software testing interview questions sql interview questions

Explore

  • Recent Questions
  • Most Answered
  • Answers
  • No Answers
  • Most Visited
  • Most Voted
  • Random

Footer

Ask the Science

Ask the Science is a Science questions & Answers Engine which will help you establish your community and connect with other people.

Legal

  • Privacy Policy
  • Terms and Conditions

About Us

  • About Us
  • Blog
  • Contact Us

© 2022, All Rights Reserved
With Love by Ask The Science.