CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009
    Posts
    35

    Recent Interview Questions that i face

    Hey frnds plz reply of mine questions.I want to just confirm my answers.Plz reply it by today only if poss.bz tom is my another interview

    1) How to Delete Dynamically Allocated Array?
    a) delete a[]
    b)delete a[0]
    c) delete[] a
    d)delete [0] a

    My answer a.Correct or not

    2)Can we use DML statement in function?
    a)Yes
    b)No
    c)Temp tables
    d)None

    My answer d.Correct or not

    3)Confusion
    Hey friends I read somewhere the diff b/w stored proc & functions?
    One of them is
    Stored Procedure returns more than one value whereas functions return single value.

    When the interviwer ask me the question,i asnwered includg my above point,but he told me no SProc do no return any value.
    Please Clarify It.

    4)Can we return value from SPROC?
    a)No
    b)Using O/p Parameters
    c)Using return statement
    d)B & C Both

    ANSWER---??

    5)Views are complied or not
    a)Yes
    b)No
    c)Partially Compiled
    d)None

    ANSWER---??

    6)Can we user specific data in application?
    My answer no.Me correct

    7)Diff b/w primary key & UNIQUE key excepts one diff primary doesn't allow NULLS whereas unique does.
    One diff i told
    we can craete only one primary key for a table,whereas a table can have more than one unique key.
    ANy more differences?????

    8) Can we call a fn. widout dbo?
    I ans NO. Me correct or nt

    9) Four types of files created by assembly?

    10) What is candidate Key?

    11)Can we implement CAS in config file?
    I ans YES. Me correct or nt

    12) dim txt as textbox
    dim txt as new textbox
    Both the above statements are same or not.If nt wats d diff?
    I ans both are same. Me correct or nt

    13)CAS is part of inbuild framework?
    I ans YES. Me correct or nt

    14)Can constructor call itself?

    15)Accept method applies to
    a)Textbox
    b)Listbox
    c)Combobox
    d)None of above
    MY ans a. Me correct or nt

    16)What are the various data types in C#?
    I ans
    Int
    string
    char
    bool
    They are looking for wat i answer or any other anwer?

    17)Hw can you convert private assmebly to shared assembly?
    Private ssembly can be converted to shared assembly,by signing the assembly with the public Key. me correct or nt.

    18) How can i destroy objects in ASP.net?
    Session.Abandon() Me correct or nt

    19)What are Nullable types in C#?
    I raed it allows a data type to be set to NULL .
    In C# ,no nULL is dere,so in C# we have set to Nothing. --RIGHT OR WRONG

    DataType like integers and booleans cannot set to NULL.
    But in C# ,integer is set to Nothing,& no error is coming?

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Recent Interview Questions that i face

    You want to tell him that he is WRONG about anything? Not a good way to get the job.

    If you have an answer to a question, and you gave it to him, then SUPPORT it.

    The job is based on what YOU know, not what WE know
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured