In written question was asked to print star triangle pattern, Reversing a statement and a question related to char array. In sql there were basic questions like difference between DDL and DML, changing data type of column of a table , updating two columns of a perticular table in single time etc, In manual testing tey asked difference between test case and use case, V model, process of logging defect etc.